#CDE951#CDE951

#CDE951 is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.6% C 0.176 H 119.1°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#CDE951
RGBrgb(205, 233, 81)
HSLhsl(71, 78%, 62%)
HSVhsv(71, 65%, 91%)
CMYKcmyk(12%, 0%, 65.2%, 8.6%)
CIE-LABlab(87.90, -29.16, 67.94)
CIE-LCHlch(87.90, 73.93, 113.23°)
OKLaboklab(88.57% -0.0856 0.1538)
OKLCHoklch(88.57% 0.176 119.1)
XYZxyz(55.8019, 71.8514, 18.7120)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE951 #6D51E9
analogous
#E9B951 #CDE951 #81E951
triadic
#CDE951 #51CDE9 #E951CD
tetradic
#CDE951 #51E9B9 #6D51E9 #E95181
square
#CDE951 #51E9B9 #6D51E9 #E95181
split-complementary
#CDE951 #5181E9 #B951E9
monochromatic
#8FAA16 #BCE01C #CDE951 #DDF087 #ECF7BE

Accessibility & contrast

On white

1.37
#CDE951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#CDE951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE951
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE951#FFFFFF#000000##000000
##CDE9511.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3C
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#D8DDCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cde951;
/* rgb */ color: rgb(205, 233, 81);
/* oklch */ color: oklch(88.6% 0.176 119.1);
Tailwind
colors: {
  custom: {
    50: '#dff089',
    500: '#cde951',
    950: '#000000',
  },
}
SCSS
$custom: #cde951;
$custom-light: #dff089;
$custom-dark: #000000;
JSON
{
  "hex": "#cde951",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 71.053,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88566,
    "c": 0.17601,
    "h": 119.1
  },
  "luminance": 0.71851
}

Semantic roles & 50–950 ramp

primary
#CDE951
secondary
#4933AB
accent
#0CDA32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CDE951

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

Preview Lab → · Contrast checker → · Palette generator →

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