#CAAA42#CAAA42

#CAAA42 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.126 H 91.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CAAA42
RGBrgb(202, 170, 66)
HSLhsl(46, 56%, 53%)
HSVhsv(46, 67%, 79%)
CMYKcmyk(0%, 15.8%, 67.3%, 20.8%)
CIE-LABlab(70.66, 0.25, 55.96)
CIE-LCHlch(70.66, 55.96, 89.74°)
OKLaboklab(74.73% -0.0039 0.1263)
OKLCHoklch(74.73% 0.126 91.8)
XYZxyz(39.7172, 41.7016, 11.1104)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAA42 #4262CA
analogous
#CA6642 #CAAA42 #A6CA42
triadic
#CAAA42 #42CAAA #AA42CA
tetradic
#CAAA42 #42CA66 #4262CA #CA42A6
square
#CAAA42 #42CA66 #4262CA #CA42A6
split-complementary
#CAAA42 #42A6CA #6642CA
monochromatic
#725E20 #A2862D #CAAA42 #D7BF72 #E5D5A2

Accessibility & contrast

On white

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

On black

9.34
#CAAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAA42
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAA42#FFFFFF#000000##000000
##CAAA421.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#DA9D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #caaa42;
/* rgb */ color: rgb(202, 170, 66);
/* oklch */ color: oklch(74.7% 0.126 91.8);
Tailwind
colors: {
  custom: {
    50: '#dec37b',
    500: '#caaa42',
    950: '#000000',
  },
}
SCSS
$custom: #caaa42;
$custom-light: #dec37b;
$custom-dark: #000000;
JSON
{
  "hex": "#caaa42",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 45.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74729,
    "c": 0.12636,
    "h": 91.8
  },
  "luminance": 0.41699
}

Semantic roles & 50–950 ramp

primary
#CAAA42
secondary
#96A4D1
accent
#6CDF48
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CAAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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