#CDF951#CDF951

#CDF951 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.1% C 0.195 H 123.0°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#CDF951
RGBrgb(205, 249, 81)
HSLhsl(76, 93%, 65%)
HSVhsv(76, 67%, 98%)
CMYKcmyk(17.7%, 0%, 67.5%, 2.4%)
CIE-LABlab(92.28, -36.51, 72.44)
CIE-LCHlch(92.28, 81.12, 116.75°)
OKLaboklab(92.09% -0.106 0.1633)
OKLCHoklch(92.09% 0.195 123)
XYZxyz(60.5384, 81.3243, 20.2908)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF951 #7D51F9
analogous
#F9D151 #CDF951 #79F951
triadic
#CDF951 #51CDF9 #F951CD
tetradic
#CDF951 #51F9D1 #7D51F9 #F95179
square
#CDF951 #51F9D1 #7D51F9 #F95179
split-complementary
#CDF951 #5179F9 #D151F9
monochromatic
#96C907 #BCF716 #CDF951 #DEFB8C #EFFDC7

Accessibility & contrast

On white

1.22
#CDF951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.27
#CDF951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF951
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF951#FFFFFF#000000##000000
##CDF9511.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA37
Deuteranopia (green-blind)
#FFE95F
Tritanopia (blue-blind)
#D7EDD7
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf951;
/* rgb */ color: rgb(205, 249, 81);
/* oklch */ color: oklch(92.1% 0.195 123.0);
Tailwind
colors: {
  custom: {
    50: '#e0fb8b',
    500: '#cdf951',
    950: '#000000',
  },
}
SCSS
$custom: #cdf951;
$custom-light: #e0fb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf951",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 81
  },
  "hsl": {
    "h": 75.714,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92094,
    "c": 0.19464,
    "h": 123
  },
  "luminance": 0.81325
}

Semantic roles & 50–950 ramp

primary
#CDF951
secondary
#5229C5
accent
#00E63C
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CDF951

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

Preview Lab → · Contrast checker → · Palette generator →

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