#CDF172#CDF172

#CDF172 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.159 H 122.7°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CDF172
RGBrgb(205, 241, 114)
HSLhsl(77, 82%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(14.9%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.37, -30.36, 56.74)
CIE-LCHlch(90.37, 64.35, 118.15°)
OKLaboklab(90.65% -0.086 0.1337)
OKLCHoklch(90.65% 0.159 122.7)
XYZxyz(59.6697, 77.1045, 27.6554)
Luminance0.7711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF172 #9672F1
analogous
#F1D672 #CDF172 #8EF172
triadic
#CDF172 #72CDF1 #F172CD
tetradic
#CDF172 #72F1D6 #9672F1 #F1728E
square
#CDF172 #72F1D6 #9672F1 #F1728E
split-complementary
#CDF172 #728EF1 #D672F1
monochromatic
#9ED415 #B9EB3A #CDF172 #E1F7AA #F4FCE1

Accessibility & contrast

On white

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

On black

16.42
#CDF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF172
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF172#FFFFFF#000000##000000
##CDF1721.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#D5E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf172;
/* rgb */ color: rgb(205, 241, 114);
/* oklch */ color: oklch(90.6% 0.159 122.7);
Tailwind
colors: {
  custom: {
    50: '#def59e',
    500: '#cdf172',
    950: '#000000',
  },
}
SCSS
$custom: #cdf172;
$custom-light: #def59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf172",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 77.008,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90648,
    "c": 0.15894,
    "h": 122.7
  },
  "luminance": 0.77105
}

Semantic roles & 50–950 ramp

primary
#CDF172
secondary
#653DCA
accent
#07DE44
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF172

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

Preview Lab → · Contrast checker → · Palette generator →

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