#CDF189#CDF189

#CDF189 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 91.0% C 0.136 H 124.7°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#CDF189
RGBrgb(205, 241, 137)
HSLhsl(81, 79%, 74%)
HSVhsv(81, 43%, 95%)
CMYKcmyk(14.9%, 0%, 43.2%, 5.5%)
CIE-LABlab(90.64, -28.02, 46.29)
CIE-LCHlch(90.64, 54.11, 121.19°)
OKLaboklab(90.95% -0.0776 0.1122)
OKLCHoklch(90.95% 0.136 124.7)
XYZxyz(61.1473, 77.6955, 35.4374)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF189 #AD89F1
analogous
#F1E189 #CDF189 #99F189
triadic
#CDF189 #89CDF1 #F189CD
tetradic
#CDF189 #89F1E1 #AD89F1 #F18999
square
#CDF189 #89F1E1 #AD89F1 #F18999
split-complementary
#CDF189 #8999F1 #E189F1
monochromatic
#9FE41C #B6EB52 #CDF189 #E4F7C0 #F3FCE4

Accessibility & contrast

On white

1.27
#CDF189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#CDF189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF189
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF189#FFFFFF#000000##000000
##CDF1891.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE581
Deuteranopia (green-blind)
#F6E48F
Tritanopia (blue-blind)
#D3E8D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cdf189;
/* rgb */ color: rgb(205, 241, 137);
/* oklch */ color: oklch(91.0% 0.136 124.7);
Tailwind
colors: {
  custom: {
    50: '#def5ad',
    500: '#cdf189',
    950: '#000000',
  },
}
SCSS
$custom: #cdf189;
$custom-light: #def5ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf189",
  "rgb": {
    "r": 205,
    "g": 241,
    "b": 137
  },
  "hsl": {
    "h": 80.769,
    "s": 78.788,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90954,
    "c": 0.13645,
    "h": 124.7
  },
  "luminance": 0.77696
}

Semantic roles & 50–950 ramp

primary
#CDF189
secondary
#7C51CD
accent
#0ADB53
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF189

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

Preview Lab → · Contrast checker → · Palette generator →

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