#CDED97#CDED97

#CDED97 is a very light, moderate yellow-green. Relative luminance 0.758; OKLCH L 90.3% C 0.116 H 125.3°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#CDED97
RGBrgb(205, 237, 151)
HSLhsl(82, 70%, 76%)
HSVhsv(82, 36%, 93%)
CMYKcmyk(13.5%, 0%, 36.3%, 7.1%)
CIE-LABlab(89.76, -24.46, 38.29)
CIE-LCHlch(89.76, 45.43, 122.57°)
OKLaboklab(90.31% -0.0668 0.0945)
OKLCHoklch(90.31% 0.116 125.3)
XYZxyz(61.0464, 75.7815, 40.6833)
Luminance0.7578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDED97 #B797ED
analogous
#EDE297 #CDED97 #A2ED97
triadic
#CDED97 #97CDED #ED97CD
tetradic
#CDED97 #97EDE2 #B797ED #ED97A2
square
#CDED97 #97EDE2 #B797ED #ED97A2
split-complementary
#CDED97 #97A2ED #E297ED
monochromatic
#9BDB2F #B4E463 #CDED97 #E6F6CB #F2FAE5

Accessibility & contrast

On white

1.30
#CDED97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#CDED97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDED97
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDED97#FFFFFF#000000##000000
##CDED971.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F1E19B
Tritanopia (blue-blind)
#D2E5D7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #cded97;
/* rgb */ color: rgb(205, 237, 151);
/* oklch */ color: oklch(90.3% 0.116 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddf3b6',
    500: '#cded97',
    950: '#000000',
  },
}
SCSS
$custom: #cded97;
$custom-light: #ddf3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cded97",
  "rgb": {
    "r": 205,
    "g": 237,
    "b": 151
  },
  "hsl": {
    "h": 82.326,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.90311,
    "c": 0.11576,
    "h": 125.3
  },
  "luminance": 0.75782
}

Semantic roles & 50–950 ramp

primary
#CDED97
secondary
#875FC9
accent
#13D35A
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CDED97

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

Preview Lab → · Contrast checker → · Palette generator →

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