#CAD640#CAD640

#CAD640 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.1% C 0.167 H 114.0°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#CAD640
RGBrgb(202, 214, 64)
HSLhsl(65, 65%, 55%)
HSVhsv(65, 70%, 84%)
CMYKcmyk(5.6%, 0%, 70.1%, 16.1%)
CIE-LABlab(82.39, -22.28, 68.62)
CIE-LCHlch(82.39, 72.15, 107.98°)
OKLaboklab(84.05% -0.0679 0.1527)
OKLCHoklch(84.05% 0.167 114)
XYZxyz(49.3305, 61.0208, 14.0290)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAD640 #4C40D6
analogous
#D69740 #CAD640 #7FD640
triadic
#CAD640 #40CAD6 #D640CA
tetradic
#CAD640 #40D697 #4C40D6 #D6407F
square
#CAD640 #40D697 #4C40D6 #D6407F
split-complementary
#CAD640 #407FD6 #9740D6
monochromatic
#78801B #A7B226 #CAD640 #D8E172 #E6ECA5

Accessibility & contrast

On white

1.59
#CAD640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#CAD640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAD640
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAD640#FFFFFF#000000##000000
##CAD6401.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC26
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#D7C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cad640;
/* rgb */ color: rgb(202, 214, 64);
/* oklch */ color: oklch(84.1% 0.167 114.0);
Tailwind
colors: {
  custom: {
    50: '#dee27e',
    500: '#cad640',
    950: '#000000',
  },
}
SCSS
$custom: #cad640;
$custom-light: #dee27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cad640",
  "rgb": {
    "r": 202,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 64.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84054,
    "c": 0.1671,
    "h": 114
  },
  "luminance": 0.6102
}

Semantic roles & 50–950 ramp

primary
#CAD640
secondary
#3A3387
accent
#40E84E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CAD640

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

Preview Lab → · Contrast checker → · Palette generator →

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