#CDF56F#CDF56F

#CDF56F is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.5% C 0.167 H 123.5°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#CDF56F
RGBrgb(205, 245, 111)
HSLhsl(78, 87%, 70%)
HSVhsv(78, 55%, 96%)
CMYKcmyk(16.3%, 0%, 54.7%, 3.9%)
CIE-LABlab(91.43, -32.48, 59.31)
CIE-LCHlch(91.43, 67.62, 118.71°)
OKLaboklab(91.49% -0.0921 0.139)
OKLCHoklch(91.49% 0.167 123.5)
XYZxyz(60.6988, 79.4313, 27.1698)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF56F #976FF5
analogous
#F5DA6F #CDF56F #8AF56F
triadic
#CDF56F #6FCDF5 #F56FCD
tetradic
#CDF56F #6FF5DA #976FF5 #F56F8A
square
#CDF56F #6FF5DA #976FF5 #F56F8A
split-complementary
#CDF56F #6F8AF5 #DA6FF5
monochromatic
#9EDA0F #B9F136 #CDF56F #E1F9A8 #F5FDE1

Accessibility & contrast

On white

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

On black

16.89
#CDF56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF56F
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF56F#FFFFFF#000000##000000
##CDF56F1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#FCE677
Tritanopia (blue-blind)
#D5EAD7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cdf56f;
/* rgb */ color: rgb(205, 245, 111);
/* oklch */ color: oklch(91.5% 0.167 123.5);
Tailwind
colors: {
  custom: {
    50: '#dff89c',
    500: '#cdf56f',
    950: '#000000',
  },
}
SCSS
$custom: #cdf56f;
$custom-light: #dff89c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf56f",
  "rgb": {
    "r": 205,
    "g": 245,
    "b": 111
  },
  "hsl": {
    "h": 77.91,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91491,
    "c": 0.16675,
    "h": 123.5
  },
  "luminance": 0.79432
}

Semantic roles & 50–950 ramp

primary
#CDF56F
secondary
#6639CF
accent
#02E445
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CDF56F

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

Preview Lab → · Contrast checker → · Palette generator →

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