#CAA937#CAA937

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

Color values

HEX#CAA937
RGBrgb(202, 169, 55)
HSLhsl(47, 58%, 50%)
HSVhsv(47, 73%, 79%)
CMYKcmyk(0%, 16.3%, 72.8%, 20.8%)
CIE-LABlab(70.32, 0.21, 60.12)
CIE-LCHlch(70.32, 60.12, 89.80°)
OKLaboklab(74.43% -0.0053 0.1331)
OKLCHoklch(74.43% 0.133 92.3)
XYZxyz(39.2368, 41.2106, 9.5015)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA937 #3758CA
analogous
#CA6037 #CAA937 #A1CA37
triadic
#CAA937 #37CAA9 #A937CA
tetradic
#CAA937 #37CA60 #3758CA #CA37A1
square
#CAA937 #37CA60 #3758CA #CA37A1
split-complementary
#CAA937 #37A1CA #6037CA
monochromatic
#6A591C #9B8129 #CAA937 #D7BE67 #E4D398

Accessibility & contrast

On white

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

On black

9.24
#CAA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA937
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA937#FFFFFF#000000##000000
##CAA9371.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #caa937;
/* rgb */ color: rgb(202, 169, 55);
/* oklch */ color: oklch(74.4% 0.133 92.3);
Tailwind
colors: {
  custom: {
    50: '#dec275',
    500: '#caa937',
    950: '#000000',
  },
}
SCSS
$custom: #caa937;
$custom-light: #dec275;
$custom-dark: #000000;
JSON
{
  "hex": "#caa937",
  "rgb": {
    "r": 202,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 46.531,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.13325,
    "h": 92.3
  },
  "luminance": 0.41208
}

Semantic roles & 50–950 ramp

primary
#CAA937
secondary
#8E9CCF
accent
#69E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CAA937

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

Preview Lab → · Contrast checker → · Palette generator →

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