#AF8D24#AF8D24

#AF8D24 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.7% C 0.123 H 89.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AF8D24
RGBrgb(175, 141, 36)
HSLhsl(45, 66%, 41%)
HSVhsv(45, 79%, 69%)
CMYKcmyk(0%, 19.4%, 79.4%, 31.4%)
CIE-LABlab(60.15, 2.55, 56.57)
CIE-LCHlch(60.15, 56.62, 87.41°)
OKLaboklab(65.75% 0.0008 0.1229)
OKLCHoklch(65.75% 0.123 89.6)
XYZxyz(27.5242, 28.2929, 5.6801)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF8D24 #2446AF
analogous
#AF4824 #AF8D24 #8CAF24
triadic
#AF8D24 #24AF8D #8D24AF
tetradic
#AF8D24 #24AF48 #2446AF #AF248C
square
#AF8D24 #24AF48 #2446AF #AF248C
split-complementary
#AF8D24 #248CAF #4824AF
monochromatic
#493B0F #7C641A #AF8D24 #D6B03A #E1C46D

Accessibility & contrast

On white

3.15
#AF8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AF8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF8D24
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF8D24#FFFFFF#000000##000000
##AF8D241.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0D
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#BE8079
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af8d24;
/* rgb */ color: rgb(175, 141, 36);
/* oklch */ color: oklch(65.7% 0.123 89.6);
Tailwind
colors: {
  custom: {
    50: '#cbae68',
    500: '#af8d24',
    950: '#000000',
  },
}
SCSS
$custom: #af8d24;
$custom-light: #cbae68;
$custom-dark: #000000;
JSON
{
  "hex": "#af8d24",
  "rgb": {
    "r": 175,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 45.324,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65748,
    "c": 0.12291,
    "h": 89.6
  },
  "luminance": 0.28291
}

Semantic roles & 50–950 ramp

primary
#AF8D24
secondary
#687FC7
accent
#69E93F
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141007
muted
#837F7A

Preview Lab

Preview with #AF8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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