#AF8C19

A color in the Yellow, Gold family

#af8c19 is a color in the Yellow, Gold family: RGB(175, 140, 25), HSL(46°, 75%, 39%), CMYK(0%, 20%, 86%, 31%). Closest named color: darkgoldenrod. Contrast is 3.19:1 on white and 6.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#af8c19
RGBrgb(175 140 25)
RGB (legacy)rgb(175, 140, 25)
RGB %rgb(69% 55% 10%)
HSLhsl(46 75% 39%)
HSV / HSBhsv(46, 86%, 69%)
HWBhwb(46 10% 31%)
CMYKcmyk(0%, 20%, 86%, 31%)
CIELAB (D50)lab(60.25 6.09 59.54)
LCHlch(60.25 59.85 84.16)
OKLaboklab(0.6548 0.0004 0.1274)
OKLCHoklch(0.6548 0.1274 89.82)
Decimal11504665

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 1.9
Closest web-safe color#999900
Hue46°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)39%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)54% / 55%
Relative luminance (WCAG)0.2794
Red / Green / Blue175 / 140 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.59: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 58.9 / -42.9 · As background with white / black text: Lc -64.3 / 45.2

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