#CAD42E#CAD42E

#CAD42E is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.5% C 0.175 H 113.2°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CAD42E
RGBrgb(202, 212, 46)
HSLhsl(64, 66%, 51%)
HSVhsv(64, 78%, 83%)
CMYKcmyk(4.7%, 0%, 78.3%, 16.9%)
CIE-LABlab(81.75, -22.08, 73.77)
CIE-LCHlch(81.75, 77.00, 106.67°)
OKLaboklab(83.51% -0.0688 0.1605)
OKLCHoklch(83.51% 0.175 113.2)
XYZxyz(48.3953, 59.8419, 11.5855)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD42E #382ED4
analogous
#D48B2E #CAD42E #77D42E
triadic
#CAD42E #2ECAD4 #D42ECA
tetradic
#CAD42E #2ED48B #382ED4 #D42E77
square
#CAD42E #2ED48B #382ED4 #D42E77
split-complementary
#CAD42E #2E77D4 #8B2ED4
monochromatic
#6B7017 #9BA322 #CAD42E #D7DE61 #E4E994

Accessibility & contrast

On white

1.62
#CAD42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#CAD42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD42E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD42E#FFFFFF#000000##000000
##CAD42E1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA00
Deuteranopia (green-blind)
#E4CD3E
Tritanopia (blue-blind)
#D8C7B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cad42e;
/* rgb */ color: rgb(202, 212, 46);
/* oklch */ color: oklch(83.5% 0.175 113.2);
Tailwind
colors: {
  custom: {
    50: '#dee176',
    500: '#cad42e',
    950: '#000000',
  },
}
SCSS
$custom: #cad42e;
$custom-light: #dee176;
$custom-dark: #000000;
JSON
{
  "hex": "#cad42e",
  "rgb": {
    "r": 202,
    "g": 212,
    "b": 46
  },
  "hsl": {
    "h": 63.614,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.83513,
    "c": 0.17465,
    "h": 113.2
  },
  "luminance": 0.59841
}

Semantic roles & 50–950 ramp

primary
#CAD42E
secondary
#312D79
accent
#3FE949
background
#FEFEFB
surface
#FCFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CAD42E

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

Preview Lab → · Contrast checker → · Palette generator →

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