#CAA837#CAA837

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

Color values

HEX#CAA837
RGBrgb(202, 168, 55)
HSLhsl(46, 58%, 50%)
HSVhsv(46, 73%, 79%)
CMYKcmyk(0%, 16.8%, 72.8%, 20.8%)
CIE-LABlab(70.06, 0.74, 59.87)
CIE-LCHlch(70.06, 59.87, 89.29°)
OKLaboklab(74.23% -0.0038 0.1326)
OKLCHoklch(74.23% 0.133 91.6)
XYZxyz(39.0515, 40.8400, 9.4397)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA837 #3759CA
analogous
#CA5E37 #CAA837 #A3CA37
triadic
#CAA837 #37CAA8 #A837CA
tetradic
#CAA837 #37CA5E #3759CA #CA37A3
square
#CAA837 #37CA5E #3759CA #CA37A3
split-complementary
#CAA837 #37A3CA #5E37CA
monochromatic
#6A581C #9B8029 #CAA837 #D7BD67 #E4D298

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAA837#FFFFFF#000000##000000
##CAA8371.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)
#BBA626
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#DA9A91
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #caa837;
/* rgb */ color: rgb(202, 168, 55);
/* oklch */ color: oklch(74.2% 0.133 91.6);
Tailwind
colors: {
  custom: {
    50: '#dec175',
    500: '#caa837',
    950: '#000000',
  },
}
SCSS
$custom: #caa837;
$custom-light: #dec175;
$custom-dark: #000000;
JSON
{
  "hex": "#caa837",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 46.122,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.13265,
    "h": 91.6
  },
  "luminance": 0.40838
}

Semantic roles & 50–950 ramp

primary
#CAA837
secondary
#8E9DCF
accent
#6AE146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA837

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

Preview Lab → · Contrast checker → · Palette generator →

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