#CDF27F#CDF27F

#CDF27F is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.0% C 0.148 H 124.0°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#CDF27F
RGBrgb(205, 242, 127)
HSLhsl(79, 82%, 72%)
HSVhsv(79, 48%, 95%)
CMYKcmyk(15.3%, 0%, 47.5%, 5.1%)
CIE-LABlab(90.79, -29.57, 51.24)
CIE-LCHlch(90.79, 59.16, 119.99°)
OKLaboklab(91.03% -0.0827 0.1227)
OKLCHoklch(91.03% 0.148 124)
XYZxyz(60.7597, 78.0154, 31.9320)
Luminance0.7802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF27F #A47FF2
analogous
#F2DD7F #CDF27F #94F27F
triadic
#CDF27F #7FCDF2 #F27FCD
tetradic
#CDF27F #7FF2DD #A47FF2 #F27F94
square
#CDF27F #7FF2DD #A47FF2 #F27F94
split-complementary
#CDF27F #7F94F2 #DD7FF2
monochromatic
#9FE017 #B7EC47 #CDF27F #E3F8B7 #F4FCE3

Accessibility & contrast

On white

1.26
#CDF27F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#CDF27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF27F
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF27F#FFFFFF#000000##000000
##CDF27F1.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE675
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#D4E8D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf27f;
/* rgb */ color: rgb(205, 242, 127);
/* oklch */ color: oklch(91.0% 0.148 124.0);
Tailwind
colors: {
  custom: {
    50: '#def6a6',
    500: '#cdf27f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf27f;
$custom-light: #def6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf27f",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 127
  },
  "hsl": {
    "h": 79.304,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91031,
    "c": 0.14792,
    "h": 124
  },
  "luminance": 0.78016
}

Semantic roles & 50–950 ramp

primary
#CDF27F
secondary
#7348CD
accent
#08DE4D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CDF27F

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

Preview Lab → · Contrast checker → · Palette generator →

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