#CEDC97#CEDC97

#CEDC97 is a very light, moderate yellow-green. Relative luminance 0.665; OKLCH L 86.7% C 0.091 H 117.7°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#CEDC97
RGBrgb(206, 220, 151)
HSLhsl(72, 50%, 73%)
HSVhsv(72, 31%, 86%)
CMYKcmyk(6.4%, 0%, 31.4%, 13.7%)
CIE-LABlab(85.27, -15.78, 32.41)
CIE-LCHlch(85.27, 36.05, 115.96°)
OKLaboklab(86.75% -0.0424 0.0808)
OKLCHoklch(86.75% 0.091 117.7)
XYZxyz(56.6325, 66.5429, 39.1328)
Luminance0.6654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEDC97 #A597DC
analogous
#DCC797 #CEDC97 #ABDC97
triadic
#CEDC97 #97CEDC #DC97CE
tetradic
#CEDC97 #97DCC7 #A597DC #DC97AB
square
#CEDC97 #97DCC7 #A597DC #DC97AB
split-complementary
#CEDC97 #97ABDC #C797DC
monochromatic
#A1BA3F #B8CD69 #CEDC97 #E4EBC5 #F4F7E8

Accessibility & contrast

On white

1.47
#CEDC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#CEDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEDC97
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEDC97#FFFFFF#000000##000000
##CEDC971.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D592
Deuteranopia (green-blind)
#E4D59A
Tritanopia (blue-blind)
#D5D5CA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cedc97;
/* rgb */ color: rgb(206, 220, 151);
/* oklch */ color: oklch(86.7% 0.091 117.7);
Tailwind
colors: {
  custom: {
    50: '#dde6b6',
    500: '#cedc97',
    950: '#000000',
  },
}
SCSS
$custom: #cedc97;
$custom-light: #dde6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cedc97",
  "rgb": {
    "r": 206,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 72.174,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86746,
    "c": 0.09121,
    "h": 117.7
  },
  "luminance": 0.66543
}

Semantic roles & 50–950 ramp

primary
#CEDC97
secondary
#7464B4
accent
#29BD47
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CEDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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