#DEDF8A#DEDF8A

#DEDF8A is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.4% C 0.107 H 109.0°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#DEDF8A
RGBrgb(222, 223, 138)
HSLhsl(61, 57%, 71%)
HSVhsv(61, 38%, 87%)
CMYKcmyk(0.4%, 0%, 38.1%, 12.5%)
CIE-LABlab(87.07, -12.73, 41.54)
CIE-LCHlch(87.07, 43.44, 107.03°)
OKLaboklab(88.4% -0.0349 0.1014)
OKLCHoklch(88.4% 0.107 109)
XYZxyz(61.1001, 70.1411, 34.3597)
Luminance0.7014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF8A #8B8ADF
analogous
#DFB58A #DEDF8A #B3DF8A
triadic
#DEDF8A #8ADEDF #DF8ADE
tetradic
#DEDF8A #8ADFB5 #8B8ADF #DF8AB3
square
#DEDF8A #8ADFB5 #8B8ADF #DF8AB3
split-complementary
#DEDF8A #8AB3DF #B58ADF
monochromatic
#BABB33 #D0D25A #DEDF8A #ECECBA #F8F8E7

Accessibility & contrast

On white

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

On black

15.03
#DEDF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF8A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF8A#FFFFFF#000000##000000
##DEDF8A1.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD884
Deuteranopia (green-blind)
#EDDC8E
Tritanopia (blue-blind)
#E9D5CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dedf8a;
/* rgb */ color: rgb(222, 223, 138);
/* oklch */ color: oklch(88.4% 0.107 109.0);
Tailwind
colors: {
  custom: {
    50: '#e9e8ad',
    500: '#dedf8a',
    950: '#000000',
  },
}
SCSS
$custom: #dedf8a;
$custom-light: #e9e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf8a",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 60.706,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88404,
    "c": 0.1072,
    "h": 109
  },
  "luminance": 0.7014
}

Semantic roles & 50–950 ramp

primary
#DEDF8A
secondary
#5857B7
accent
#21C523
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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