#CDE952#CDE952

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

Color values

HEX#CDE952
RGBrgb(205, 233, 82)
HSLhsl(71, 77%, 62%)
HSVhsv(71, 65%, 91%)
CMYKcmyk(12%, 0%, 64.8%, 8.6%)
CIE-LABlab(87.90, -29.10, 67.56)
CIE-LCHlch(87.90, 73.56, 113.30°)
OKLaboklab(88.57% -0.0854 0.1531)
OKLCHoklch(88.57% 0.175 119.1)
XYZxyz(55.8397, 71.8665, 18.9110)
Luminance0.7187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE952 #6E52E9
analogous
#E9BA52 #CDE952 #82E952
triadic
#CDE952 #52CDE9 #E952CD
tetradic
#CDE952 #52E9BA #6E52E9 #E95282
square
#CDE952 #52E9BA #6E52E9 #E95282
split-complementary
#CDE952 #5282E9 #BA52E9
monochromatic
#8FAB16 #BDE11D #CDE952 #DDF088 #ECF7BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDE952#FFFFFF#000000##000000
##CDE9521.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)
#F7DC3D
Deuteranopia (green-blind)
#F4DD5D
Tritanopia (blue-blind)
#D8DDCA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cde952;
/* rgb */ color: rgb(205, 233, 82);
/* oklch */ color: oklch(88.6% 0.175 119.1);
Tailwind
colors: {
  custom: {
    50: '#dff08a',
    500: '#cde952',
    950: '#000000',
  },
}
SCSS
$custom: #cde952;
$custom-light: #dff08a;
$custom-dark: #000000;
JSON
{
  "hex": "#cde952",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 71.126,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88574,
    "c": 0.1753,
    "h": 119.1
  },
  "luminance": 0.71866
}

Semantic roles & 50–950 ramp

primary
#CDE952
secondary
#4A33AC
accent
#0CDA32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CDE952

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

Preview Lab → · Contrast checker → · Palette generator →

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