#CDE96C#CDE96C

#CDE96C is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.154 H 120.1°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#CDE96C
RGBrgb(205, 233, 108)
HSLhsl(73, 74%, 67%)
HSVhsv(73, 54%, 91%)
CMYKcmyk(12%, 0%, 53.6%, 8.6%)
CIE-LABlab(88.13, -27.14, 56.84)
CIE-LCHlch(88.13, 62.98, 115.53°)
OKLaboklab(88.83% -0.0775 0.1334)
OKLCHoklch(88.83% 0.154 120.1)
XYZxyz(57.0231, 72.3399, 25.1434)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE96C #886CE9
analogous
#E9C76C #CDE96C #8FE96C
triadic
#CDE96C #6CCDE9 #E96CCD
tetradic
#CDE96C #6CE9C7 #886CE9 #E96C8F
square
#CDE96C #6CE9C7 #886CE9 #E96C8F
split-complementary
#CDE96C #6C8FE9 #C76CE9
monochromatic
#9ABE1C #BBE137 #CDE96C #DFF1A1 #F1F9D6

Accessibility & contrast

On white

1.36
#CDE96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#CDE96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE96C
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE96C#FFFFFF#000000##000000
##CDE96C1.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD60
Deuteranopia (green-blind)
#F2DD74
Tritanopia (blue-blind)
#D7DECD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cde96c;
/* rgb */ color: rgb(205, 233, 108);
/* oklch */ color: oklch(88.8% 0.154 120.1);
Tailwind
colors: {
  custom: {
    50: '#def09a',
    500: '#cde96c',
    950: '#000000',
  },
}
SCSS
$custom: #cde96c;
$custom-light: #def09a;
$custom-dark: #000000;
JSON
{
  "hex": "#cde96c",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 108
  },
  "hsl": {
    "h": 73.44,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8883,
    "c": 0.15422,
    "h": 120.1
  },
  "luminance": 0.7234
}

Semantic roles & 50–950 ramp

primary
#CDE96C
secondary
#593CBD
accent
#0FD63C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CDE96C

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

Preview Lab → · Contrast checker → · Palette generator →

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