#AF9D32#AF9D32

#AF9D32 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.125 H 99.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AF9D32
RGBrgb(175, 157, 50)
HSLhsl(51, 56%, 44%)
HSVhsv(51, 71%, 69%)
CMYKcmyk(0%, 10.3%, 71.4%, 31.4%)
CIE-LABlab(64.53, -5.50, 55.51)
CIE-LCHlch(64.53, 55.78, 95.66°)
OKLaboklab(69.24% -0.0206 0.1235)
OKLCHoklch(69.24% 0.125 99.5)
XYZxyz(30.3133, 33.4596, 7.8786)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D32 #3244AF
analogous
#AF5F32 #AF9D32 #83AF32
triadic
#AF9D32 #32AF9D #9D32AF
tetradic
#AF9D32 #32AF5F #3244AF #AF3283
square
#AF9D32 #32AF5F #3244AF #AF3283
split-complementary
#AF9D32 #3283AF #5F32AF
monochromatic
#504817 #7F7224 #AF9D32 #CDBB51 #DBCE81

Accessibility & contrast

On white

2.73
#AF9D32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AF9D32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D32
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D32#FFFFFF#000000##000000
##AF9D321.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9922
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#BD9188
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #af9d32;
/* rgb */ color: rgb(175, 157, 50);
/* oklch */ color: oklch(69.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#cab971',
    500: '#af9d32',
    950: '#000000',
  },
}
SCSS
$custom: #af9d32;
$custom-light: #cab971;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d32",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 51.36,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.12517,
    "h": 99.5
  },
  "luminance": 0.33458
}

Semantic roles & 50–950 ramp

primary
#AF9D32
secondary
#7984C4
accent
#5FDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9D32

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

Preview Lab → · Contrast checker → · Palette generator →

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