#CDF381#CDF381

#CDF381 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.3% C 0.147 H 124.4°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#CDF381
RGBrgb(205, 243, 129)
HSLhsl(80, 83%, 73%)
HSVhsv(80, 47%, 95%)
CMYKcmyk(15.6%, 0%, 46.9%, 4.7%)
CIE-LABlab(91.08, -29.83, 50.66)
CIE-LCHlch(91.08, 58.79, 120.49°)
OKLaboklab(91.28% -0.0832 0.1215)
OKLCHoklch(91.28% 0.147 124.4)
XYZxyz(61.1898, 78.6649, 32.7248)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF381 #A781F3
analogous
#F3E081 #CDF381 #94F381
triadic
#CDF381 #81CDF3 #F381CD
tetradic
#CDF381 #81F3E0 #A781F3 #F38194
square
#CDF381 #81F3E0 #A781F3 #F38194
split-complementary
#CDF381 #8194F3 #E081F3
monochromatic
#9FE416 #B7EE49 #CDF381 #E3F8B9 #F4FCE3

Accessibility & contrast

On white

1.26
#CDF381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#CDF381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF381
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF381#FFFFFF#000000##000000
##CDF3811.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE777
Deuteranopia (green-blind)
#F9E587
Tritanopia (blue-blind)
#D4E9D8
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf381;
/* rgb */ color: rgb(205, 243, 129);
/* oklch */ color: oklch(91.3% 0.147 124.4);
Tailwind
colors: {
  custom: {
    50: '#def7a8',
    500: '#cdf381',
    950: '#000000',
  },
}
SCSS
$custom: #cdf381;
$custom-light: #def7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf381",
  "rgb": {
    "r": 205,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 80,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91276,
    "c": 0.14729,
    "h": 124.4
  },
  "luminance": 0.78665
}

Semantic roles & 50–950 ramp

primary
#CDF381
secondary
#764ACF
accent
#06DF4F
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF381

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

Preview Lab → · Contrast checker → · Palette generator →

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