#CDF56B#CDF56B

#CDF56B is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.4% C 0.170 H 123.3°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#CDF56B
RGBrgb(205, 245, 107)
HSLhsl(77, 87%, 69%)
HSVhsv(77, 56%, 96%)
CMYKcmyk(16.3%, 0%, 56.3%, 3.9%)
CIE-LABlab(91.39, -32.82, 61.02)
CIE-LCHlch(91.39, 69.29, 118.28°)
OKLaboklab(91.45% -0.0934 0.1423)
OKLCHoklch(91.45% 0.17 123.3)
XYZxyz(60.4834, 79.3452, 26.0358)
Luminance0.7934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF56B #936BF5
analogous
#F5D86B #CDF56B #88F56B
triadic
#CDF56B #6BCDF5 #F56BCD
tetradic
#CDF56B #6BF5D8 #936BF5 #F56B88
square
#CDF56B #6BF5D8 #936BF5 #F56B88
split-complementary
#CDF56B #6B88F5 #D86BF5
monochromatic
#9DD70F #BAF132 #CDF56B #E0F9A4 #F4FDDE

Accessibility & contrast

On white

1.24
#CDF56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#CDF56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF56B
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF56B#FFFFFF#000000##000000
##CDF56B1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75D
Deuteranopia (green-blind)
#FCE674
Tritanopia (blue-blind)
#D6EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf56b;
/* rgb */ color: rgb(205, 245, 107);
/* oklch */ color: oklch(91.4% 0.170 123.3);
Tailwind
colors: {
  custom: {
    50: '#dff89a',
    500: '#cdf56b',
    950: '#000000',
  },
}
SCSS
$custom: #cdf56b;
$custom-light: #dff89a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf56b",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 107
  },
  "hsl": {
    "h": 77.391,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91447,
    "c": 0.17021,
    "h": 123.3
  },
  "luminance": 0.79345
}

Semantic roles & 50–950 ramp

primary
#CDF56B
secondary
#6236CE
accent
#02E443
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF56B

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

Preview Lab → · Contrast checker → · Palette generator →

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