#DEDF8D#DEDF8D

#DEDF8D is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.5% C 0.104 H 108.9°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#DEDF8D
RGBrgb(222, 223, 141)
HSLhsl(61, 56%, 71%)
HSVhsv(61, 37%, 87%)
CMYKcmyk(0.4%, 0%, 36.8%, 12.5%)
CIE-LABlab(87.11, -12.39, 40.10)
CIE-LCHlch(87.11, 41.97, 107.18°)
OKLaboklab(88.45% -0.0337 0.0982)
OKLCHoklch(88.45% 0.104 108.9)
XYZxyz(61.3203, 70.2292, 35.5194)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF8D #8E8DDF
analogous
#DFB78D #DEDF8D #B5DF8D
triadic
#DEDF8D #8DDEDF #DF8DDE
tetradic
#DEDF8D #8DDFB7 #8E8DDF #DF8DB5
square
#DEDF8D #8DDFB7 #8E8DDF #DF8DB5
split-complementary
#DEDF8D #8DB5DF #B78DDF
monochromatic
#BBBD35 #D0D25D #DEDF8D #ECECBD #F8F8E7

Accessibility & contrast

On white

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

On black

15.05
#DEDF8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF8D
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF8D#FFFFFF#000000##000000
##DEDF8D1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD887
Deuteranopia (green-blind)
#ECDC91
Tritanopia (blue-blind)
#E9D5CB
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dedf8d;
/* rgb */ color: rgb(222, 223, 141);
/* oklch */ color: oklch(88.5% 0.104 108.9);
Tailwind
colors: {
  custom: {
    50: '#e9e8af',
    500: '#dedf8d',
    950: '#000000',
  },
}
SCSS
$custom: #dedf8d;
$custom-light: #e9e8af;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf8d",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 141
  },
  "hsl": {
    "h": 60.732,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88452,
    "c": 0.10385,
    "h": 108.9
  },
  "luminance": 0.70228
}

Semantic roles & 50–950 ramp

primary
#DEDF8D
secondary
#5A59B7
accent
#22C424
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDF8D

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

Preview Lab → · Contrast checker → · Palette generator →

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