#CAD042#CAD042

#CAD042 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.160 H 111.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#CAD042
RGBrgb(202, 208, 66)
HSLhsl(63, 60%, 54%)
HSVhsv(63, 68%, 82%)
CMYKcmyk(2.9%, 0%, 68.3%, 18.4%)
CIE-LABlab(80.77, -19.24, 66.30)
CIE-LCHlch(80.77, 69.03, 106.18°)
OKLaboklab(82.76% -0.0592 0.1481)
OKLCHoklch(82.76% 0.16 111.8)
XYZxyz(47.8978, 58.0628, 13.8373)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD042 #4842D0
analogous
#D08F42 #CAD042 #83D042
triadic
#CAD042 #42CAD0 #D042CA
tetradic
#CAD042 #42D08F #4842D0 #D04283
square
#CAD042 #42D08F #4842D0 #D04283
split-complementary
#CAD042 #4283D0 #8F42D0
monochromatic
#76791E #A5AA2A #CAD042 #D8DC73 #E5E8A4

Accessibility & contrast

On white

1.67
#CAD042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#CAD042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD042
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD042#FFFFFF#000000##000000
##CAD0421.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C72C
Deuteranopia (green-blind)
#E0CA4C
Tritanopia (blue-blind)
#D8C3B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cad042;
/* rgb */ color: rgb(202, 208, 66);
/* oklch */ color: oklch(82.8% 0.160 111.8);
Tailwind
colors: {
  custom: {
    50: '#ddde7f',
    500: '#cad042',
    950: '#000000',
  },
}
SCSS
$custom: #cad042;
$custom-light: #ddde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cad042",
  "rgb": {
    "r": 202,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 62.535,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82764,
    "c": 0.15952,
    "h": 111.8
  },
  "luminance": 0.58062
}

Semantic roles & 50–950 ramp

primary
#CAD042
secondary
#383581
accent
#44E34B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CAD042

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

Preview Lab → · Contrast checker → · Palette generator →

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