#CDFA7B#CDFA7B

#CDFA7B is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.7% C 0.162 H 125.6°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#CDFA7B
RGBrgb(205, 250, 123)
HSLhsl(81, 93%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(18%, 0%, 50.8%, 2%)
CIE-LABlab(92.92, -33.67, 55.66)
CIE-LCHlch(92.92, 65.05, 121.17°)
OKLaboklab(92.73% -0.0945 0.1321)
OKLCHoklch(92.73% 0.162 125.6)
XYZxyz(62.9375, 82.7798, 31.3974)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDFA7B #A87BFA
analogous
#FAE87B #CDFA7B #8DFA7B
triadic
#CDFA7B #7BCDFA #FA7BCD
tetradic
#CDFA7B #7BFAE8 #A87BFA #FA7B8D
square
#CDFA7B #7BFAE8 #A87BFA #FA7B8D
split-complementary
#CDFA7B #7B8DFA #E87BFA
monochromatic
#9FF109 #B7F840 #CDFA7B #E3FCB6 #F4FEE2

Accessibility & contrast

On white

1.20
#CDFA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#CDFA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDFA7B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDFA7B#FFFFFF#000000##000000
##CDFA7B1.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6F
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#D4F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cdfa7b;
/* rgb */ color: rgb(205, 250, 123);
/* oklch */ color: oklch(92.7% 0.162 125.6);
Tailwind
colors: {
  custom: {
    50: '#defca4',
    500: '#cdfa7b',
    950: '#000000',
  },
}
SCSS
$custom: #cdfa7b;
$custom-light: #defca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdfa7b",
  "rgb": {
    "r": 205,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 81.26,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.92731,
    "c": 0.16239,
    "h": 125.6
  },
  "luminance": 0.8278
}

Semantic roles & 50–950 ramp

primary
#CDFA7B
secondary
#7742D7
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CDFA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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