#CEDC98#CEDC98

#CEDC98 is a very light, moderate yellow-green. Relative luminance 0.666; OKLCH L 86.8% C 0.090 H 117.8°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#CEDC98
RGBrgb(206, 220, 152)
HSLhsl(72, 49%, 73%)
HSVhsv(72, 31%, 86%)
CMYKcmyk(6.4%, 0%, 30.9%, 13.7%)
CIE-LABlab(85.29, -15.65, 31.92)
CIE-LCHlch(85.29, 35.55, 116.12°)
OKLaboklab(86.76% -0.042 0.0797)
OKLCHoklch(86.76% 0.09 117.8)
XYZxyz(56.7141, 66.5755, 39.5623)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEDC98 #A698DC
analogous
#DCC898 #CEDC98 #ACDC98
triadic
#CEDC98 #98CEDC #DC98CE
tetradic
#CEDC98 #98DCC8 #A698DC #DC98AC
square
#CEDC98 #98DCC8 #A698DC #DC98AC
split-complementary
#CEDC98 #98ACDC #C898DC
monochromatic
#A1BA3F #B8CC6A #CEDC98 #E4ECC6 #F4F7E8

Accessibility & contrast

On white

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

On black

14.32
#CEDC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEDC98
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEDC98#FFFFFF#000000##000000
##CEDC981.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cedc98;
/* rgb */ color: rgb(206, 220, 152);
/* oklch */ color: oklch(86.8% 0.090 117.8);
Tailwind
colors: {
  custom: {
    50: '#dde6b7',
    500: '#cedc98',
    950: '#000000',
  },
}
SCSS
$custom: #cedc98;
$custom-light: #dde6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cedc98",
  "rgb": {
    "r": 206,
    "g": 220,
    "b": 152
  },
  "hsl": {
    "h": 72.353,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.09003,
    "h": 117.8
  },
  "luminance": 0.66575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEDC98

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

Preview Lab → · Contrast checker → · Palette generator →

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