#CDF698#CDF698

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

Color values

HEX#CDF698
RGBrgb(205, 246, 152)
HSLhsl(86, 84%, 78%)
HSVhsv(86, 38%, 96%)
CMYKcmyk(16.7%, 0%, 38.2%, 3.5%)
CIE-LABlab(92.20, -28.60, 40.96)
CIE-LCHlch(92.20, 49.96, 124.92°)
OKLaboklab(92.28% -0.0784 0.1007)
OKLCHoklch(92.28% 0.128 127.9)
XYZxyz(63.7994, 81.1569, 42.0033)
Luminance0.8116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDF698 #C198F6
analogous
#F6F098 #CDF698 #9EF698
triadic
#CDF698 #98CDF6 #F698CD
tetradic
#CDF698 #98F6F0 #C198F6 #F6989E
square
#CDF698 #98F6F0 #C198F6 #F6989E
split-complementary
#CDF698 #989EF6 #F098F6
monochromatic
#96EC27 #B2F160 #CDF698 #E8FBD0 #F1FDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDF698#FFFFFF#000000##000000
##CDF6981.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)
#FFEA91
Deuteranopia (green-blind)
#F9E89D
Tritanopia (blue-blind)
#D1EEDF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cdf698;
/* rgb */ color: rgb(205, 246, 152);
/* oklch */ color: oklch(92.3% 0.128 127.9);
Tailwind
colors: {
  custom: {
    50: '#ddf9b7',
    500: '#cdf698',
    950: '#000000',
  },
}
SCSS
$custom: #cdf698;
$custom-light: #ddf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdf698",
  "rgb": {
    "r": 205,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 86.17,
    "s": 83.929,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92275,
    "c": 0.12765,
    "h": 127.9
  },
  "luminance": 0.81158
}

Semantic roles & 50–950 ramp

primary
#CDF698
secondary
#915DD5
accent
#05E065
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDF698

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

Preview Lab → · Contrast checker → · Palette generator →

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