#AF9624#AF9624

#AF9624 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.128 H 95.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#AF9624
RGBrgb(175, 150, 36)
HSLhsl(49, 66%, 41%)
HSVhsv(49, 79%, 69%)
CMYKcmyk(0%, 14.3%, 79.4%, 31.4%)
CIE-LABlab(62.55, -2.36, 58.74)
CIE-LCHlch(62.55, 58.79, 92.30°)
OKLaboklab(67.65% -0.0131 0.1276)
OKLCHoklch(67.65% 0.128 95.9)
XYZxyz(28.9056, 31.0557, 6.1406)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9624 #243DAF
analogous
#AF5124 #AF9624 #83AF24
triadic
#AF9624 #24AF96 #9624AF
tetradic
#AF9624 #24AF51 #243DAF #AF2483
square
#AF9624 #24AF51 #243DAF #AF2483
split-complementary
#AF9624 #2483AF #5124AF
monochromatic
#493F0F #7C6A1A #AF9624 #D6BA3A #E1CC6D

Accessibility & contrast

On white

2.91
#AF9624 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#AF9624 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9624
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9624#FFFFFF#000000##000000
##AF96241.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69307
Deuteranopia (green-blind)
#AD9B2C
Tritanopia (blue-blind)
#BD8A81
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af9624;
/* rgb */ color: rgb(175, 150, 36);
/* oklch */ color: oklch(67.6% 0.128 95.9);
Tailwind
colors: {
  custom: {
    50: '#cbb469',
    500: '#af9624',
    950: '#000000',
  },
}
SCSS
$custom: #af9624;
$custom-light: #cbb469;
$custom-dark: #000000;
JSON
{
  "hex": "#af9624",
  "rgb": {
    "r": 175,
    "g": 150,
    "b": 36
  },
  "hsl": {
    "h": 49.209,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67645,
    "c": 0.12825,
    "h": 95.9
  },
  "luminance": 0.31054
}

Semantic roles & 50–950 ramp

primary
#AF9624
secondary
#6879C7
accent
#5EE93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9624

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

Preview Lab → · Contrast checker → · Palette generator →

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