#AF8F24#AF8F24

#AF8F24 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 66.2% C 0.124 H 91.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AF8F24
RGBrgb(175, 143, 36)
HSLhsl(46, 66%, 41%)
HSVhsv(46, 79%, 69%)
CMYKcmyk(0%, 18.3%, 79.4%, 31.4%)
CIE-LABlab(60.68, 1.46, 57.05)
CIE-LCHlch(60.68, 57.07, 88.54°)
OKLaboklab(66.17% -0.0023 0.1239)
OKLCHoklch(66.17% 0.124 91.1)
XYZxyz(27.8217, 28.8880, 5.7793)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8F24 #2444AF
analogous
#AF4A24 #AF8F24 #8AAF24
triadic
#AF8F24 #24AF8F #8F24AF
tetradic
#AF8F24 #24AF4A #2444AF #AF248A
square
#AF8F24 #24AF4A #2444AF #AF248A
split-complementary
#AF8F24 #248AAF #4A24AF
monochromatic
#493C0F #7C661A #AF8F24 #D6B23A #E1C66D

Accessibility & contrast

On white

3.10
#AF8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#AF8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8F24
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8F24#FFFFFF#000000##000000
##AF8F241.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0C
Deuteranopia (green-blind)
#A8962B
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #af8f24;
/* rgb */ color: rgb(175, 143, 36);
/* oklch */ color: oklch(66.2% 0.124 91.1);
Tailwind
colors: {
  custom: {
    50: '#cbaf68',
    500: '#af8f24',
    950: '#000000',
  },
}
SCSS
$custom: #af8f24;
$custom-light: #cbaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#af8f24",
  "rgb": {
    "r": 175,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 46.187,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66166,
    "c": 0.12396,
    "h": 91.1
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

primary
#AF8F24
secondary
#687EC7
accent
#66E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8F24

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF8F24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva