#CDF257#CDF257

#CDF257 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.6% C 0.182 H 121.6°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#CDF257
RGBrgb(205, 242, 87)
HSLhsl(74, 86%, 65%)
HSVhsv(74, 64%, 95%)
CMYKcmyk(15.3%, 0%, 64%, 5.1%)
CIE-LABlab(90.40, -32.95, 68.23)
CIE-LCHlch(90.40, 75.76, 115.78°)
OKLaboklab(90.6% -0.0956 0.1552)
OKLCHoklch(90.6% 0.182 121.6)
XYZxyz(58.6500, 77.1715, 20.8208)
Luminance0.7717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF257 #7C57F2
analogous
#F2CA57 #CDF257 #7FF257
triadic
#CDF257 #57CDF2 #F257CD
tetradic
#CDF257 #57F2CA #7C57F2 #F2577F
square
#CDF257 #57F2CA #7C57F2 #F2577F
split-complementary
#CDF257 #577FF2 #CA57F2
monochromatic
#96C00F #BCEE1E #CDF257 #DEF690 #EFFBC9

Accessibility & contrast

On white

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

On black

16.43
#CDF257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF257
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF257#FFFFFF#000000##000000
##CDF2571.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE442
Deuteranopia (green-blind)
#FBE462
Tritanopia (blue-blind)
#D7E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf257;
/* rgb */ color: rgb(205, 242, 87);
/* oklch */ color: oklch(90.6% 0.182 121.6);
Tailwind
colors: {
  custom: {
    50: '#dff68d',
    500: '#cdf257',
    950: '#000000',
  },
}
SCSS
$custom: #cdf257;
$custom-light: #dff68d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf257",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 74.323,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90595,
    "c": 0.18229,
    "h": 121.6
  },
  "luminance": 0.77172
}

Semantic roles & 50–950 ramp

primary
#CDF257
secondary
#5130BE
accent
#03E239
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF257

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

Preview Lab → · Contrast checker → · Palette generator →

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