#AF9A24#AF9A24

#AF9A24 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.5% C 0.131 H 98.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#AF9A24
RGBrgb(175, 154, 36)
HSLhsl(51, 66%, 41%)
HSVhsv(51, 79%, 69%)
CMYKcmyk(0%, 12%, 79.4%, 31.4%)
CIE-LABlab(63.63, -4.51, 59.71)
CIE-LCHlch(63.63, 59.88, 94.32°)
OKLaboklab(68.5% -0.0192 0.1297)
OKLCHoklch(68.5% 0.131 98.4)
XYZxyz(29.5548, 32.3541, 6.3570)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9A24 #2439AF
analogous
#AF5524 #AF9A24 #7FAF24
triadic
#AF9A24 #24AF9A #9A24AF
tetradic
#AF9A24 #24AF55 #2439AF #AF247F
square
#AF9A24 #24AF55 #2439AF #AF247F
split-complementary
#AF9A24 #247FAF #5524AF
monochromatic
#49410F #7C6D1A #AF9A24 #D6BF3A #E1CF6D

Accessibility & contrast

On white

2.81
#AF9A24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#AF9A24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9A24
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9A24#FFFFFF#000000##000000
##AF9A241.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9604
Deuteranopia (green-blind)
#B09D2D
Tritanopia (blue-blind)
#BD8E84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9a24;
/* rgb */ color: rgb(175, 154, 36);
/* oklch */ color: oklch(68.5% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#cbb769',
    500: '#af9a24',
    950: '#000000',
  },
}
SCSS
$custom: #af9a24;
$custom-light: #cbb769;
$custom-dark: #000000;
JSON
{
  "hex": "#af9a24",
  "rgb": {
    "r": 175,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 50.935,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.685,
    "c": 0.13109,
    "h": 98.4
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#AF9A24
secondary
#6876C7
accent
#59E93F
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #AF9A24

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

Preview Lab → · Contrast checker → · Palette generator →

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