#CAD74B#CAD74B

#CAD74B is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.4% C 0.161 H 114.4°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#CAD74B
RGBrgb(202, 215, 75)
HSLhsl(66, 64%, 57%)
HSVhsv(66, 65%, 84%)
CMYKcmyk(6%, 0%, 65.1%, 15.7%)
CIE-LABlab(82.74, -22.15, 64.85)
CIE-LCHlch(82.74, 68.53, 108.86°)
OKLaboklab(84.36% -0.0665 0.1465)
OKLCHoklch(84.36% 0.161 114.4)
XYZxyz(49.9288, 61.6663, 15.9278)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD74B #584BD7
analogous
#D79E4B #CAD74B #84D74B
triadic
#CAD74B #4BCAD7 #D74BCA
tetradic
#CAD74B #4BD79E #584BD7 #D74B84
square
#CAD74B #4BD79E #584BD7 #D74B84
split-complementary
#CAD74B #4B84D7 #9E4BD7
monochromatic
#7F891E #AEBB2A #CAD74B #D9E27D #E7EDAF

Accessibility & contrast

On white

1.58
#CAD74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#CAD74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD74B
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD74B#FFFFFF#000000##000000
##CAD74B1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#D7CBBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cad74b;
/* rgb */ color: rgb(202, 215, 75);
/* oklch */ color: oklch(84.4% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#dde384',
    500: '#cad74b',
    950: '#000000',
  },
}
SCSS
$custom: #cad74b;
$custom-light: #dde384;
$custom-dark: #000000;
JSON
{
  "hex": "#cad74b",
  "rgb": {
    "r": 202,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 65.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84355,
    "c": 0.16086,
    "h": 114.4
  },
  "luminance": 0.61665
}

Semantic roles & 50–950 ramp

primary
#CAD74B
secondary
#3F378F
accent
#41E751
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #CAD74B

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

Preview Lab → · Contrast checker → · Palette generator →

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