#CDE978#CDE978

#CDE978 is a very light, vivid yellow-green. Relative luminance 0.726; OKLCH L 89.0% C 0.143 H 120.9°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#CDE978
RGBrgb(205, 233, 120)
HSLhsl(75, 72%, 69%)
HSVhsv(75, 48%, 91%)
CMYKcmyk(12%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.26, -26.03, 51.47)
CIE-LCHlch(88.26, 57.67, 116.83°)
OKLaboklab(88.98% -0.0733 0.1227)
OKLCHoklch(88.98% 0.143 120.9)
XYZxyz(57.7062, 72.6131, 28.7413)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE978 #9478E9
analogous
#E9CD78 #CDE978 #95E978
triadic
#CDE978 #78CDE9 #E978CD
tetradic
#CDE978 #78E9CD #9478E9 #E97895
square
#CDE978 #78E9CD #9478E9 #E97895
split-complementary
#CDE978 #7895E9 #CD78E9
monochromatic
#9DC620 #BAE043 #CDE978 #E0F2AD #F4FAE1

Accessibility & contrast

On white

1.35
#CDE978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#CDE978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE978
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE978#FFFFFF#000000##000000
##CDE9781.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#F1DE7E
Tritanopia (blue-blind)
#D6DFCF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cde978;
/* rgb */ color: rgb(205, 233, 120);
/* oklch */ color: oklch(89.0% 0.143 120.9);
Tailwind
colors: {
  custom: {
    50: '#def0a1',
    500: '#cde978',
    950: '#000000',
  },
}
SCSS
$custom: #cde978;
$custom-light: #def0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cde978",
  "rgb": {
    "r": 205,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 74.867,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88978,
    "c": 0.14289,
    "h": 120.9
  },
  "luminance": 0.72613
}

Semantic roles & 50–950 ramp

primary
#CDE978
secondary
#6344C1
accent
#11D442
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CDE978

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

Preview Lab → · Contrast checker → · Palette generator →

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