#CDF787#CDF787

#CDF787 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.2% C 0.147 H 126.0°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#CDF787
RGBrgb(205, 247, 135)
HSLhsl(83, 88%, 75%)
HSVhsv(83, 45%, 97%)
CMYKcmyk(17%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.24, -31.05, 49.24)
CIE-LCHlch(92.24, 58.21, 122.23°)
OKLaboklab(92.23% -0.0862 0.1187)
OKLCHoklch(92.23% 0.147 126)
XYZxyz(62.8105, 81.2493, 35.2906)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF787 #B187F7
analogous
#F7E987 #CDF787 #95F787
triadic
#CDF787 #87CDF7 #F787CD
tetradic
#CDF787 #87F7E9 #B187F7 #F78795
square
#CDF787 #87F7E9 #B187F7 #F78795
split-complementary
#CDF787 #8795F7 #E987F7
monochromatic
#9DEF14 #B5F34E #CDF787 #E5FBC0 #F3FDE2

Accessibility & contrast

On white

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

On black

17.25
#CDF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF787
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF787#FFFFFF#000000##000000
##CDF7871.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FCE88D
Tritanopia (blue-blind)
#D3EEDD
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf787;
/* rgb */ color: rgb(205, 247, 135);
/* oklch */ color: oklch(92.2% 0.147 126.0);
Tailwind
colors: {
  custom: {
    50: '#defaac',
    500: '#cdf787',
    950: '#000000',
  },
}
SCSS
$custom: #cdf787;
$custom-light: #defaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf787",
  "rgb": {
    "r": 205,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 82.5,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92233,
    "c": 0.14675,
    "h": 126
  },
  "luminance": 0.8125
}

Semantic roles & 50–950 ramp

primary
#CDF787
secondary
#804ED4
accent
#01E456
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CDF787

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

Preview Lab → · Contrast checker → · Palette generator →

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