#CAA839#CAA839

#CAA839 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.131 H 91.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#CAA839
RGBrgb(202, 168, 57)
HSLhsl(46, 58%, 51%)
HSVhsv(46, 72%, 79%)
CMYKcmyk(0%, 16.8%, 71.8%, 20.8%)
CIE-LABlab(70.08, 0.84, 59.09)
CIE-LCHlch(70.08, 59.10, 89.19°)
OKLaboklab(74.24% -0.0033 0.1313)
OKLCHoklch(74.24% 0.131 91.4)
XYZxyz(39.1004, 40.8596, 9.6973)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA839 #395BCA
analogous
#CA5F39 #CAA839 #A3CA39
triadic
#CAA839 #39CAA8 #A839CA
tetradic
#CAA839 #39CA5F #395BCA #CA39A3
square
#CAA839 #39CA5F #395BCA #CA39A3
split-complementary
#CAA839 #39A3CA #5F39CA
monochromatic
#6C591D #9C812A #CAA839 #D7BD69 #E4D29A

Accessibility & contrast

On white

2.29
#CAA839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#CAA839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA839
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA839#FFFFFF#000000##000000
##CAA8391.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA629
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#DA9A92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa839;
/* rgb */ color: rgb(202, 168, 57);
/* oklch */ color: oklch(74.2% 0.131 91.4);
Tailwind
colors: {
  custom: {
    50: '#dec176',
    500: '#caa839',
    950: '#000000',
  },
}
SCSS
$custom: #caa839;
$custom-light: #dec176;
$custom-dark: #000000;
JSON
{
  "hex": "#caa839",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 45.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74244,
    "c": 0.13138,
    "h": 91.4
  },
  "luminance": 0.40857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAA839

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

Preview Lab → · Contrast checker → · Palette generator →

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