#CDF697#CDF697

#CDF697 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.3% C 0.129 H 127.7°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#CDF697
RGBrgb(205, 246, 151)
HSLhsl(86, 84%, 78%)
HSVhsv(86, 39%, 96%)
CMYKcmyk(16.7%, 0%, 38.6%, 3.5%)
CIE-LABlab(92.19, -28.72, 41.44)
CIE-LCHlch(92.19, 50.42, 124.73°)
OKLaboklab(92.26% -0.0788 0.1018)
OKLCHoklch(92.26% 0.129 127.7)
XYZxyz(63.7178, 81.1243, 41.5738)
Luminance0.8113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF697 #C097F6
analogous
#F6F097 #CDF697 #9DF697
triadic
#CDF697 #97CDF6 #F697CD
tetradic
#CDF697 #97F6F0 #C097F6 #F6979D
square
#CDF697 #97F6F0 #C097F6 #F6979D
split-complementary
#CDF697 #979DF6 #F097F6
monochromatic
#97EC26 #B2F15F #CDF697 #E8FBCF #F1FDE3

Accessibility & contrast

On white

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

On black

17.23
#CDF697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDF697
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDF697#FFFFFF#000000##000000
##CDF6971.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA90
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#D1EEDE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf697;
/* rgb */ color: rgb(205, 246, 151);
/* oklch */ color: oklch(92.3% 0.129 127.7);
Tailwind
colors: {
  custom: {
    50: '#ddf9b6',
    500: '#cdf697',
    950: '#000000',
  },
}
SCSS
$custom: #cdf697;
$custom-light: #ddf9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf697",
  "rgb": {
    "r": 205,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 85.895,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.92259,
    "c": 0.12873,
    "h": 127.7
  },
  "luminance": 0.81125
}

Semantic roles & 50–950 ramp

primary
#CDF697
secondary
#905CD5
accent
#05E164
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF697

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

Preview Lab → · Contrast checker → · Palette generator →

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