#CDF08C#CDF08C

#CDF08C is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.8% C 0.132 H 124.7°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#CDF08C
RGBrgb(205, 240, 140)
HSLhsl(81, 77%, 75%)
HSVhsv(81, 42%, 94%)
CMYKcmyk(14.6%, 0%, 41.7%, 5.9%)
CIE-LABlab(90.41, -27.21, 44.55)
CIE-LCHlch(90.41, 52.20, 121.42°)
OKLaboklab(90.78% -0.0751 0.1084)
OKLCHoklch(90.78% 0.132 124.7)
XYZxyz(61.0703, 77.1924, 36.4881)
Luminance0.7719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF08C #AF8CF0
analogous
#F0E18C #CDF08C #9BF08C
triadic
#CDF08C #8CCDF0 #F08CCD
tetradic
#CDF08C #8CF0E1 #AF8CF0 #F08C9B
square
#CDF08C #8CF0E1 #AF8CF0 #F08C9B
split-complementary
#CDF08C #8C9BF0 #E18CF0
monochromatic
#9EE220 #B5E956 #CDF08C #E5F7C2 #F3FBE4

Accessibility & contrast

On white

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

On black

16.44
#CDF08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF08C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF08C#FFFFFF#000000##000000
##CDF08C1.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE584
Deuteranopia (green-blind)
#F5E391
Tritanopia (blue-blind)
#D3E7D8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf08c;
/* rgb */ color: rgb(205, 240, 140);
/* oklch */ color: oklch(90.8% 0.132 124.7);
Tailwind
colors: {
  custom: {
    50: '#ddf5af',
    500: '#cdf08c',
    950: '#000000',
  },
}
SCSS
$custom: #cdf08c;
$custom-light: #ddf5af;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf08c",
  "rgb": {
    "r": 205,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 81,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90782,
    "c": 0.13193,
    "h": 124.7
  },
  "luminance": 0.77193
}

Semantic roles & 50–950 ramp

primary
#CDF08C
secondary
#7E54CC
accent
#0CD954
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF08C

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

Preview Lab → · Contrast checker → · Palette generator →

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