#CDF989#CDF989

#CDF989 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.147 H 126.7°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CDF989
RGBrgb(205, 249, 137)
HSLhsl(84, 90%, 76%)
HSVhsv(84, 45%, 98%)
CMYKcmyk(17.7%, 0%, 45%, 2.4%)
CIE-LABlab(92.81, -31.76, 49.00)
CIE-LCHlch(92.81, 58.39, 122.95°)
OKLaboklab(92.7% -0.0881 0.1183)
OKLCHoklch(92.7% 0.148 126.7)
XYZxyz(63.5675, 82.5359, 36.2441)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF989 #B589F9
analogous
#F9ED89 #CDF989 #95F989
triadic
#CDF989 #89CDF9 #F989CD
tetradic
#CDF989 #89F9ED #B589F9 #F98995
square
#CDF989 #89F9ED #B589F9 #F98995
split-complementary
#CDF989 #8995F9 #ED89F9
monochromatic
#9CF315 #B4F64F #CDF989 #E6FCC3 #F3FEE2

Accessibility & contrast

On white

1.20
#CDF989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#CDF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF989
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF989#FFFFFF#000000##000000
##CDF9891.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC80
Deuteranopia (green-blind)
#FDEA8F
Tritanopia (blue-blind)
#D3F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cdf989;
/* rgb */ color: rgb(205, 249, 137);
/* oklch */ color: oklch(92.7% 0.147 126.7);
Tailwind
colors: {
  custom: {
    50: '#defbad',
    500: '#cdf989',
    950: '#000000',
  },
}
SCSS
$custom: #cdf989;
$custom-light: #defbad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf989",
  "rgb": {
    "r": 205,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 83.571,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.92698,
    "c": 0.1475,
    "h": 126.7
  },
  "luminance": 0.82537
}

Semantic roles & 50–950 ramp

primary
#CDF989
secondary
#844FD7
accent
#00E65A
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF989

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

Preview Lab → · Contrast checker → · Palette generator →

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