#CDF289#CDF289

#CDF289 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.2% C 0.138 H 124.9°. Best body text is #000000 at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#CDF289
RGBrgb(205, 242, 137)
HSLhsl(81, 80%, 74%)
HSVhsv(81, 43%, 95%)
CMYKcmyk(15.3%, 0%, 43.4%, 5.1%)
CIE-LABlab(90.91, -28.49, 46.63)
CIE-LCHlch(90.91, 54.65, 121.43°)
OKLaboklab(91.17% -0.079 0.113)
OKLCHoklch(91.17% 0.138 124.9)
XYZxyz(61.4441, 78.2891, 35.5363)
Luminance0.7829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF289 #AE89F2
analogous
#F2E389 #CDF289 #99F289
triadic
#CDF289 #89CDF2 #F289CD
tetradic
#CDF289 #89F2E3 #AE89F2 #F28999
square
#CDF289 #89F2E3 #AE89F2 #F28999
split-complementary
#CDF289 #8999F2 #E389F2
monochromatic
#9EE61B #B6EC52 #CDF289 #E4F8C0 #F3FCE3

Accessibility & contrast

On white

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

On black

16.66
#CDF289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF289
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF289#FFFFFF#000000##000000
##CDF2891.001.2616.6616.66
#FFFFFF1.261.0021.0021.00
#00000016.6621.001.001.00
##00000016.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE681
Deuteranopia (green-blind)
#F7E58F
Tritanopia (blue-blind)
#D3E9D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cdf289;
/* rgb */ color: rgb(205, 242, 137);
/* oklch */ color: oklch(91.2% 0.138 124.9);
Tailwind
colors: {
  custom: {
    50: '#def6ad',
    500: '#cdf289',
    950: '#000000',
  },
}
SCSS
$custom: #cdf289;
$custom-light: #def6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf289",
  "rgb": {
    "r": 205,
    "g": 242,
    "b": 137
  },
  "hsl": {
    "h": 81.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.91172,
    "c": 0.13783,
    "h": 124.9
  },
  "luminance": 0.7829
}

Semantic roles & 50–950 ramp

primary
#CDF289
secondary
#7D51CE
accent
#09DC54
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF289

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

Preview Lab → · Contrast checker → · Palette generator →

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