#AF9932#AF9932

#AF9932 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.122 H 96.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AF9932
RGBrgb(175, 153, 50)
HSLhsl(49, 56%, 44%)
HSVhsv(49, 71%, 69%)
CMYKcmyk(0%, 12.6%, 71.4%, 31.4%)
CIE-LABlab(63.45, -3.36, 54.43)
CIE-LCHlch(63.45, 54.53, 93.53°)
OKLaboklab(68.38% -0.0145 0.1212)
OKLCHoklch(68.38% 0.122 96.8)
XYZxyz(29.6476, 32.1282, 7.6567)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9932 #3248AF
analogous
#AF5B32 #AF9932 #87AF32
triadic
#AF9932 #32AF99 #9932AF
tetradic
#AF9932 #32AF5B #3248AF #AF3287
square
#AF9932 #32AF5B #3248AF #AF3287
split-complementary
#AF9932 #3287AF #5B32AF
monochromatic
#504617 #7F6F24 #AF9932 #CDB751 #DBCB81

Accessibility & contrast

On white

2.83
#AF9932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AF9932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9932
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9932#FFFFFF#000000##000000
##AF99321.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#BD8D84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #af9932;
/* rgb */ color: rgb(175, 153, 50);
/* oklch */ color: oklch(68.4% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#cab670',
    500: '#af9932',
    950: '#000000',
  },
}
SCSS
$custom: #af9932;
$custom-light: #cab670;
$custom-dark: #000000;
JSON
{
  "hex": "#af9932",
  "rgb": {
    "r": 175,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 49.44,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.12206,
    "h": 96.8
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#AF9932
secondary
#7986C4
accent
#63DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AF9932

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

Preview Lab → · Contrast checker → · Palette generator →

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