#CDF158#CDF158

#CDF158 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.4% C 0.180 H 121.4°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#CDF158
RGBrgb(205, 241, 88)
HSLhsl(74, 85%, 65%)
HSVhsv(74, 63%, 95%)
CMYKcmyk(14.9%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.13, -32.42, 67.55)
CIE-LCHlch(90.13, 74.93, 115.64°)
OKLaboklab(90.38% -0.094 0.1539)
OKLCHoklch(90.38% 0.18 121.4)
XYZxyz(58.3943, 76.5943, 20.9385)
Luminance0.7659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF158 #7C58F1
analogous
#F1C958 #CDF158 #80F158
triadic
#CDF158 #58CDF1 #F158CD
tetradic
#CDF158 #58F1C9 #7C58F1 #F15880
square
#CDF158 #58F1C9 #7C58F1 #F15880
split-complementary
#CDF158 #5880F1 #C958F1
monochromatic
#96BF10 #BCEC20 #CDF158 #DEF690 #EFFAC9

Accessibility & contrast

On white

1.29
#CDF158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#CDF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF158
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF158#FFFFFF#000000##000000
##CDF1581.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE344
Deuteranopia (green-blind)
#FAE363
Tritanopia (blue-blind)
#D7E5D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cdf158;
/* rgb */ color: rgb(205, 241, 88);
/* oklch */ color: oklch(90.4% 0.180 121.4);
Tailwind
colors: {
  custom: {
    50: '#dff58e',
    500: '#cdf158',
    950: '#000000',
  },
}
SCSS
$custom: #cdf158;
$custom-light: #dff58e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf158",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 74.118,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90384,
    "c": 0.18037,
    "h": 121.4
  },
  "luminance": 0.76594
}

Semantic roles & 50–950 ramp

primary
#CDF158
secondary
#5130BD
accent
#05E138
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF158

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

Preview Lab → · Contrast checker → · Palette generator →

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