#CDE178#CDE178

#CDE178 is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 87.2% C 0.133 H 118.1°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#CDE178
RGBrgb(205, 225, 120)
HSLhsl(71, 64%, 68%)
HSVhsv(71, 47%, 88%)
CMYKcmyk(8.9%, 0%, 46.7%, 11.8%)
CIE-LABlab(86.10, -22.19, 48.84)
CIE-LCHlch(86.10, 53.65, 114.43°)
OKLaboklab(87.24% -0.0624 0.1169)
OKLCHoklch(87.24% 0.133 118.1)
XYZxyz(55.4927, 68.1860, 28.0035)
Luminance0.6819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE178 #8C78E1
analogous
#E1C178 #CDE178 #98E178
triadic
#CDE178 #78CDE1 #E178CD
tetradic
#CDE178 #78E1C1 #8C78E1 #E17898
square
#CDE178 #78E1C1 #8C78E1 #E17898
split-complementary
#CDE178 #7898E1 #C178E1
monochromatic
#9BB628 #BAD646 #CDE178 #E0ECAA #F2F7DC

Accessibility & contrast

On white

1.43
#CDE178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#CDE178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE178
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE178#FFFFFF#000000##000000
##CDE1781.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#D6D7C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cde178;
/* rgb */ color: rgb(205, 225, 120);
/* oklch */ color: oklch(87.2% 0.133 118.1);
Tailwind
colors: {
  custom: {
    50: '#deeaa1',
    500: '#cde178',
    950: '#000000',
  },
}
SCSS
$custom: #cde178;
$custom-light: #deeaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cde178",
  "rgb": {
    "r": 205,
    "g": 225,
    "b": 120
  },
  "hsl": {
    "h": 71.429,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87244,
    "c": 0.13252,
    "h": 118.1
  },
  "luminance": 0.68186
}

Semantic roles & 50–950 ramp

primary
#CDE178
secondary
#5C46B7
accent
#1ACB3C
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CDE178

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

Preview Lab → · Contrast checker → · Palette generator →

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