#AF8B21

A color in the Orange, Brown family

#af8b21 is a color in the Orange, Brown family: RGB(175, 139, 33), HSL(45°, 68%, 41%), CMYK(0%, 21%, 81%, 31%). Closest named color: darkgoldenrod. Contrast is 3.21:1 on white and 6.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#af8b21
RGBrgb(175 139 33)
RGB (legacy)rgb(175, 139, 33)
RGB %rgb(69% 55% 13%)
HSLhsl(45 68% 41%)
HSV / HSBhsv(45, 81%, 69%)
HWBhwb(45 13% 31%)
CMYKcmyk(0%, 21%, 81%, 31%)
CIELAB (D50)lab(60.01 6.79 57)
LCHlch(60.01 57.4 83.21)
OKLaboklab(0.6531 0.0034 0.1234)
OKLCHoklch(0.6531 0.1234 88.44)
Decimal11504417

Properties

Color ToneOrange, Brown
Closest named colordarkgoldenrod ΔE 1.8
Closest web-safe color#999933
Hue45°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)41%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)54% / 55%
Relative luminance (WCAG)0.2769
Red / Green / Blue175 / 139 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 59.2 / -42.6 · As background with white / black text: Lc -64.6 / 44.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #af8b21;
  --color-brand-oklch: oklch(65.31% 0.1234 88.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(175 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#af8b21] text-[#af8b21] border-[#af8b21]">