#CDF272#CDF272

#CDF272 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.9% C 0.160 H 123.0°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CDF272
RGBrgb(205, 242, 114)
HSLhsl(77, 83%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(15.3%, 0%, 52.9%, 5.1%)
CIE-LABlab(90.64, -30.83, 57.06)
CIE-LCHlch(90.64, 64.85, 118.38°)
OKLaboklab(90.87% -0.0873 0.1344)
OKLCHoklch(90.87% 0.16 123)
XYZxyz(59.9665, 77.6981, 27.7544)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF272 #9772F2
analogous
#F2D772 #CDF272 #8DF272
triadic
#CDF272 #72CDF2 #F272CD
tetradic
#CDF272 #72F2D7 #9772F2 #F2728D
square
#CDF272 #72F2D7 #9772F2 #F2728D
split-complementary
#CDF272 #728DF2 #D772F2
monochromatic
#9ED614 #B9ED3A #CDF272 #E1F7AA #F5FCE2

Accessibility & contrast

On white

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

On black

16.54
#CDF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF272
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF272#FFFFFF#000000##000000
##CDF2721.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#D5E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf272;
/* rgb */ color: rgb(205, 242, 114);
/* oklch */ color: oklch(90.9% 0.160 123.0);
Tailwind
colors: {
  custom: {
    50: '#def69e',
    500: '#cdf272',
    950: '#000000',
  },
}
SCSS
$custom: #cdf272;
$custom-light: #def69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf272",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 77.344,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90868,
    "c": 0.16023,
    "h": 123
  },
  "luminance": 0.77698
}

Semantic roles & 50–950 ramp

primary
#CDF272
secondary
#663DCC
accent
#06E045
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF272

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

Preview Lab → · Contrast checker → · Palette generator →

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