#CDF258#CDF258

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

Color values

HEX#CDF258
RGBrgb(205, 242, 88)
HSLhsl(74, 86%, 65%)
HSVhsv(74, 64%, 95%)
CMYKcmyk(15.3%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.41, -32.88, 67.84)
CIE-LCHlch(90.41, 75.39, 115.86°)
OKLaboklab(90.6% -0.0953 0.1545)
OKLCHoklch(90.6% 0.182 121.7)
XYZxyz(58.6911, 77.1879, 21.0374)
Luminance0.7719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF258 #7D58F2
analogous
#F2CA58 #CDF258 #80F258
triadic
#CDF258 #58CDF2 #F258CD
tetradic
#CDF258 #58F2CA #7D58F2 #F25880
square
#CDF258 #58F2CA #7D58F2 #F25880
split-complementary
#CDF258 #5880F2 #CA58F2
monochromatic
#96C10F #BCEE1F #CDF258 #DEF691 #EFFBCA

Accessibility & contrast

On white

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

On black

16.44
#CDF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF258
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF258#FFFFFF#000000##000000
##CDF2581.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdf258;
/* rgb */ color: rgb(205, 242, 88);
/* oklch */ color: oklch(90.6% 0.182 121.7);
Tailwind
colors: {
  custom: {
    50: '#dff68e',
    500: '#cdf258',
    950: '#000000',
  },
}
SCSS
$custom: #cdf258;
$custom-light: #dff68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf258",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 74.416,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90604,
    "c": 0.18156,
    "h": 121.7
  },
  "luminance": 0.77188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDF258

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

Preview Lab → · Contrast checker → · Palette generator →

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