#CAD342#CAD342

#CAD342 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.4% C 0.163 H 112.9°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#CAD342
RGBrgb(202, 211, 66)
HSLhsl(64, 62%, 54%)
HSVhsv(64, 69%, 83%)
CMYKcmyk(4.3%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.59, -20.71, 67.11)
CIE-LCHlch(81.59, 70.23, 107.15°)
OKLaboklab(83.42% -0.0633 0.1498)
OKLCHoklch(83.42% 0.163 112.9)
XYZxyz(48.6362, 59.5395, 14.0834)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD342 #4B42D3
analogous
#D39442 #CAD342 #82D342
triadic
#CAD342 #42CAD3 #D342CA
tetradic
#CAD342 #42D394 #4B42D3 #D34282
square
#CAD342 #42D394 #4B42D3 #D34282
split-complementary
#CAD342 #4282D3 #9442D3
monochromatic
#777D1D #A7AF29 #CAD342 #D8DF74 #E6EAA5

Accessibility & contrast

On white

1.63
#CAD342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#CAD342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD342
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD342#FFFFFF#000000##000000
##CAD3421.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92B
Deuteranopia (green-blind)
#E3CC4D
Tritanopia (blue-blind)
#D7C7B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cad342;
/* rgb */ color: rgb(202, 211, 66);
/* oklch */ color: oklch(83.4% 0.163 112.9);
Tailwind
colors: {
  custom: {
    50: '#dee07f',
    500: '#cad342',
    950: '#000000',
  },
}
SCSS
$custom: #cad342;
$custom-light: #dee07f;
$custom-dark: #000000;
JSON
{
  "hex": "#cad342",
  "rgb": {
    "r": 202,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 63.724,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83415,
    "c": 0.16266,
    "h": 112.9
  },
  "luminance": 0.59538
}

Semantic roles & 50–950 ramp

primary
#CAD342
secondary
#393485
accent
#42E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CAD342

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

Preview Lab → · Contrast checker → · Palette generator →

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