#AF9C19

A color in the Yellow, Gold family

#af9c19 is a color in the Yellow, Gold family: RGB(175, 156, 25), HSL(52°, 75%, 39%), CMYK(0%, 11%, 86%, 31%). Closest named color: darkgoldenrod. Contrast is 2.77:1 on white and 7.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#af9c19
RGBrgb(175 156 25)
RGB (legacy)rgb(175, 156, 25)
RGB %rgb(69% 61% 10%)
HSLhsl(52 75% 39%)
HSV / HSBhsv(52, 86%, 69%)
HWBhwb(52 10% 31%)
CMYKcmyk(0%, 11%, 86%, 31%)
CIELAB (D50)lab(64.51 -2.16 62.86)
LCHlch(64.51 62.89 91.97)
OKLaboklab(0.6888 -0.0241 0.1352)
OKLCHoklch(0.6888 0.1373 100.1)
Decimal11508761

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 5.7
Closest web-safe color#999900
Hue52°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)39%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)58% / 59%
Relative luminance (WCAG)0.3296
Red / Green / Blue175 / 156 / 25

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 53.2 / -48.6 · As background with white / black text: Lc -58.5 / 50.8

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: #af9c19;
  --color-brand-oklch: oklch(68.88% 0.1373 100.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(175 156 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#af9c19] text-[#af9c19] border-[#af9c19]">