#CAA939#CAA939

#CAA939 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.132 H 92.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#CAA939
RGBrgb(202, 169, 57)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 72%, 79%)
CMYKcmyk(0%, 16.3%, 71.8%, 20.8%)
CIE-LABlab(70.34, 0.31, 59.35)
CIE-LCHlch(70.34, 59.35, 89.70°)
OKLaboklab(74.45% -0.0048 0.1319)
OKLCHoklch(74.45% 0.132 92.1)
XYZxyz(39.2857, 41.2302, 9.7591)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA939 #395ACA
analogous
#CA6039 #CAA939 #A2CA39
triadic
#CAA939 #39CAA9 #A939CA
tetradic
#CAA939 #39CA60 #395ACA #CA39A2
square
#CAA939 #39CA60 #395ACA #CA39A2
split-complementary
#CAA939 #39A2CA #6039CA
monochromatic
#6C5A1D #9C822A #CAA939 #D7BE69 #E4D39A

Accessibility & contrast

On white

2.27
#CAA939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#CAA939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA939
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA939#FFFFFF#000000##000000
##CAA9391.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA628
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#DA9B92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #caa939;
/* rgb */ color: rgb(202, 169, 57);
/* oklch */ color: oklch(74.4% 0.132 92.1);
Tailwind
colors: {
  custom: {
    50: '#dec276',
    500: '#caa939',
    950: '#000000',
  },
}
SCSS
$custom: #caa939;
$custom-light: #dec276;
$custom-dark: #000000;
JSON
{
  "hex": "#caa939",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 46.345,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74448,
    "c": 0.13197,
    "h": 92.1
  },
  "luminance": 0.41228
}

Semantic roles & 50–950 ramp

primary
#CAA939
secondary
#8F9ED0
accent
#6AE147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA939

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

Preview Lab → · Contrast checker → · Palette generator →

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