#CDE398#CDE398

#CDE398 is a very light, moderate yellow-green. Relative luminance 0.702; OKLCH L 88.2% C 0.100 H 121.8°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#CDE398
RGBrgb(205, 227, 152)
HSLhsl(78, 57%, 74%)
HSVhsv(78, 33%, 89%)
CMYKcmyk(9.7%, 0%, 33%, 11%)
CIE-LABlab(87.09, -19.48, 34.29)
CIE-LCHlch(87.09, 39.44, 119.60°)
OKLaboklab(88.18% -0.0528 0.0852)
OKLCHoklch(88.18% 0.1 121.8)
XYZxyz(58.3131, 70.1843, 40.1745)
Luminance0.7018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDE398 #AE98E3
analogous
#E3D498 #CDE398 #A8E398
triadic
#CDE398 #98CDE3 #E398CD
tetradic
#CDE398 #98E3D4 #AE98E3 #E398A8
square
#CDE398 #98E3D4 #AE98E3 #E398A8
split-complementary
#CDE398 #98A8E3 #D498E3
monochromatic
#9EC938 #B6D668 #CDE398 #E4F0C8 #F3F8E7

Accessibility & contrast

On white

1.40
#CDE398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#CDE398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDE398
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDE398#FFFFFF#000000##000000
##CDE3981.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDB93
Deuteranopia (green-blind)
#E9DA9B
Tritanopia (blue-blind)
#D3DCD0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cde398;
/* rgb */ color: rgb(205, 227, 152);
/* oklch */ color: oklch(88.2% 0.100 121.8);
Tailwind
colors: {
  custom: {
    50: '#ddebb7',
    500: '#cde398',
    950: '#000000',
  },
}
SCSS
$custom: #cde398;
$custom-light: #ddebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cde398",
  "rgb": {
    "r": 205,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 77.6,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.8818,
    "c": 0.10024,
    "h": 121.8
  },
  "luminance": 0.70184
}

Semantic roles & 50–950 ramp

primary
#CDE398
secondary
#7D63BC
accent
#21C551
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CDE398

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

Preview Lab → · Contrast checker → · Palette generator →

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