#CAAA39#CAAA39

#CAAA39 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.7% C 0.133 H 92.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CAAA39
RGBrgb(202, 170, 57)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 72%, 79%)
CMYKcmyk(0%, 15.8%, 71.8%, 20.8%)
CIE-LABlab(70.60, -0.22, 59.61)
CIE-LCHlch(70.60, 59.61, 90.21°)
OKLaboklab(74.65% -0.0064 0.1324)
OKLCHoklch(74.65% 0.133 92.7)
XYZxyz(39.4725, 41.6037, 9.8213)
Luminance0.4160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA39 #3959CA
analogous
#CA6139 #CAAA39 #A1CA39
triadic
#CAAA39 #39CAAA #AA39CA
tetradic
#CAAA39 #39CA61 #3959CA #CA39A1
square
#CAAA39 #39CA61 #3959CA #CA39A1
split-complementary
#CAAA39 #39A1CA #6139CA
monochromatic
#6C5A1D #9C832A #CAAA39 #D7BF69 #E4D39A

Accessibility & contrast

On white

2.25
#CAAA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CAAA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA39
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA39#FFFFFF#000000##000000
##CAAA391.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#DA9C93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa39;
/* rgb */ color: rgb(202, 170, 57);
/* oklch */ color: oklch(74.7% 0.133 92.7);
Tailwind
colors: {
  custom: {
    50: '#dec276',
    500: '#caaa39',
    950: '#000000',
  },
}
SCSS
$custom: #caaa39;
$custom-light: #dec276;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa39",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 46.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74654,
    "c": 0.13258,
    "h": 92.7
  },
  "luminance": 0.41601
}

Semantic roles & 50–950 ramp

primary
#CAAA39
secondary
#8F9DD0
accent
#69E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAAA39

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

Preview Lab → · Contrast checker → · Palette generator →

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