#CDF179#CDF179

#CDF179 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.152 H 123.2°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CDF179
RGBrgb(205, 241, 121)
HSLhsl(78, 81%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(14.9%, 0%, 49.8%, 5.5%)
CIE-LABlab(90.45, -29.70, 53.62)
CIE-LCHlch(90.45, 61.30, 118.98°)
OKLaboklab(90.73% -0.0835 0.1275)
OKLCHoklch(90.73% 0.152 123.2)
XYZxyz(60.0835, 77.2700, 29.8347)
Luminance0.7727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF179 #9D79F1
analogous
#F1D979 #CDF179 #91F179
triadic
#CDF179 #79CDF1 #F179CD
tetradic
#CDF179 #79F1D9 #9D79F1 #F17991
square
#CDF179 #79F1D9 #9D79F1 #F17991
split-complementary
#CDF179 #7991F1 #D979F1
monochromatic
#9FD917 #B8EB42 #CDF179 #E2F7B0 #F5FCE3

Accessibility & contrast

On white

1.28
#CDF179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#CDF179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF179
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF179#FFFFFF#000000##000000
##CDF1791.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56E
Deuteranopia (green-blind)
#F8E380
Tritanopia (blue-blind)
#D5E7D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf179;
/* rgb */ color: rgb(205, 241, 121);
/* oklch */ color: oklch(90.7% 0.152 123.2);
Tailwind
colors: {
  custom: {
    50: '#def5a2',
    500: '#cdf179',
    950: '#000000',
  },
}
SCSS
$custom: #cdf179;
$custom-light: #def5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf179",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 78,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90734,
    "c": 0.1524,
    "h": 123.2
  },
  "luminance": 0.7727
}

Semantic roles & 50–950 ramp

primary
#CDF179
secondary
#6C43CB
accent
#08DD48
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF179

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

Preview Lab → · Contrast checker → · Palette generator →

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