#CDF252#CDF252

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

Color values

HEX#CDF252
RGBrgb(205, 242, 82)
HSLhsl(74, 86%, 64%)
HSVhsv(74, 66%, 95%)
CMYKcmyk(15.3%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.36, -33.27, 70.11)
CIE-LCHlch(90.36, 77.60, 115.38°)
OKLaboklab(90.55% -0.0969 0.1585)
OKLCHoklch(90.55% 0.186 121.5)
XYZxyz(58.4528, 77.0926, 19.7820)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF252 #7752F2
analogous
#F2C752 #CDF252 #7DF252
triadic
#CDF252 #52CDF2 #F252CD
tetradic
#CDF252 #52F2C7 #7752F2 #F2527D
square
#CDF252 #52F2C7 #7752F2 #F2527D
split-complementary
#CDF252 #527DF2 #C752F2
monochromatic
#93BC0E #BDEE19 #CDF252 #DDF68B #EEFBC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF252#FFFFFF#000000##000000
##CDF2521.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)
#FFE43B
Deuteranopia (green-blind)
#FCE45E
Tritanopia (blue-blind)
#D8E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf252;
/* rgb */ color: rgb(205, 242, 82);
/* oklch */ color: oklch(90.6% 0.186 121.5);
Tailwind
colors: {
  custom: {
    50: '#e0f68b',
    500: '#cdf252',
    950: '#000000',
  },
}
SCSS
$custom: #cdf252;
$custom-light: #e0f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf252",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 73.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90554,
    "c": 0.18579,
    "h": 121.5
  },
  "luminance": 0.77093
}

Semantic roles & 50–950 ramp

primary
#CDF252
secondary
#4F2EBA
accent
#03E337
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CDF252

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

Preview Lab → · Contrast checker → · Palette generator →

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