#CDF279#CDF279

#CDF279 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 91.0% C 0.154 H 123.5°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#CDF279
RGBrgb(205, 242, 121)
HSLhsl(78, 82%, 71%)
HSVhsv(78, 50%, 95%)
CMYKcmyk(15.3%, 0%, 50%, 5.1%)
CIE-LABlab(90.72, -30.17, 53.95)
CIE-LCHlch(90.72, 61.81, 119.21°)
OKLaboklab(90.95% -0.0848 0.1282)
OKLCHoklch(90.95% 0.154 123.5)
XYZxyz(60.3803, 77.8636, 29.9336)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF279 #9E79F2
analogous
#F2DA79 #CDF279 #90F279
triadic
#CDF279 #79CDF2 #F279CD
tetradic
#CDF279 #79F2DA #9E79F2 #F27990
square
#CDF279 #79F2DA #9E79F2 #F27990
split-complementary
#CDF279 #7990F2 #DA79F2
monochromatic
#9FDB15 #B8ED41 #CDF279 #E2F7B1 #F5FCE3

Accessibility & contrast

On white

1.27
#CDF279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#CDF279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF279
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF279#FFFFFF#000000##000000
##CDF2791.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56E
Deuteranopia (green-blind)
#F9E480
Tritanopia (blue-blind)
#D5E8D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf279;
/* rgb */ color: rgb(205, 242, 121);
/* oklch */ color: oklch(91.0% 0.154 123.5);
Tailwind
colors: {
  custom: {
    50: '#def6a2',
    500: '#cdf279',
    950: '#000000',
  },
}
SCSS
$custom: #cdf279;
$custom-light: #def6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf279",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 78.347,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90953,
    "c": 0.15372,
    "h": 123.5
  },
  "luminance": 0.77864
}

Semantic roles & 50–950 ramp

primary
#CDF279
secondary
#6D43CC
accent
#07DF49
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF279

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

Preview Lab → · Contrast checker → · Palette generator →

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