#CDEC97#CDEC97

#CDEC97 is a very light, moderate yellow-green. Relative luminance 0.752; OKLCH L 90.1% C 0.114 H 124.9°. Best body text is #000000 at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#CDEC97
RGBrgb(205, 236, 151)
HSLhsl(82, 69%, 76%)
HSVhsv(82, 36%, 93%)
CMYKcmyk(13.1%, 0%, 36%, 7.5%)
CIE-LABlab(89.49, -23.98, 37.94)
CIE-LCHlch(89.49, 44.88, 122.29°)
OKLaboklab(90.1% -0.0655 0.0937)
OKLCHoklch(90.1% 0.114 124.9)
XYZxyz(60.7577, 75.2041, 40.5871)
Luminance0.7520 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDEC97 #B697EC
analogous
#ECE097 #CDEC97 #A2EC97
triadic
#CDEC97 #97CDEC #EC97CD
tetradic
#CDEC97 #97ECE0 #B697EC #EC97A2
square
#CDEC97 #97ECE0 #B697EC #EC97A2
split-complementary
#CDEC97 #97A2EC #E097EC
monochromatic
#9BD930 #B4E363 #CDEC97 #E6F5CB #F3FAE5

Accessibility & contrast

On white

1.31
#CDEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.04
#CDEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDEC97
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDEC97#FFFFFF#000000##000000
##CDEC971.001.3116.0416.04
#FFFFFF1.311.0021.0021.00
#00000016.0421.001.001.00
##00000016.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#D2E4D7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #cdec97;
/* rgb */ color: rgb(205, 236, 151);
/* oklch */ color: oklch(90.1% 0.114 124.9);
Tailwind
colors: {
  custom: {
    50: '#ddf2b6',
    500: '#cdec97',
    950: '#000000',
  },
}
SCSS
$custom: #cdec97;
$custom-light: #ddf2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdec97",
  "rgb": {
    "r": 205,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 81.882,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.90095,
    "c": 0.11433,
    "h": 124.9
  },
  "luminance": 0.75204
}

Semantic roles & 50–950 ramp

primary
#CDEC97
secondary
#8660C8
accent
#14D159
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CDEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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