#CDF372#CDF372

#CDF372 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.1% C 0.162 H 123.3°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CDF372
RGBrgb(205, 243, 114)
HSLhsl(78, 84%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(15.6%, 0%, 53.1%, 4.7%)
CIE-LABlab(90.91, -31.29, 57.37)
CIE-LCHlch(90.91, 65.35, 118.61°)
OKLaboklab(91.09% -0.0886 0.1351)
OKLCHoklch(91.09% 0.162 123.3)
XYZxyz(60.2649, 78.2950, 27.8538)
Luminance0.7830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF372 #9872F3
analogous
#F3D872 #CDF372 #8DF372
triadic
#CDF372 #72CDF3 #F372CD
tetradic
#CDF372 #72F3D8 #9872F3 #F3728D
square
#CDF372 #72F3D8 #9872F3 #F3728D
split-complementary
#CDF372 #728DF3 #D872F3
monochromatic
#9ED812 #B9EE3A #CDF372 #E1F8AA #F5FDE3

Accessibility & contrast

On white

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

On black

16.66
#CDF372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF372
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF372#FFFFFF#000000##000000
##CDF3721.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE666
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#D5E9D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf372;
/* rgb */ color: rgb(205, 243, 114);
/* oklch */ color: oklch(91.1% 0.162 123.3);
Tailwind
colors: {
  custom: {
    50: '#def79e',
    500: '#cdf372',
    950: '#000000',
  },
}
SCSS
$custom: #cdf372;
$custom-light: #def79e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf372",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 77.674,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.91087,
    "c": 0.16151,
    "h": 123.3
  },
  "luminance": 0.78295
}

Semantic roles & 50–950 ramp

primary
#CDF372
secondary
#673CCD
accent
#05E146
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CDF372

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

Preview Lab → · Contrast checker → · Palette generator →

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