#DEDE8A#DEDE8A

#DEDE8A is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.2% C 0.106 H 108.4°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#DEDE8A
RGBrgb(222, 222, 138)
HSLhsl(60, 56%, 71%)
HSVhsv(60, 38%, 87%)
CMYKcmyk(0%, 0%, 37.8%, 12.9%)
CIE-LABlab(86.80, -12.23, 41.20)
CIE-LCHlch(86.80, 42.98, 106.53°)
OKLaboklab(88.2% -0.0334 0.1006)
OKLCHoklch(88.2% 0.106 108.4)
XYZxyz(60.8337, 69.6083, 34.2710)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDE8A #8A8ADE
analogous
#DEB48A #DEDE8A #B4DE8A
triadic
#DEDE8A #8ADEDE #DE8ADE
tetradic
#DEDE8A #8ADEB4 #8A8ADE #DE8AB4
square
#DEDE8A #8ADEB4 #8A8ADE #DE8AB4
split-complementary
#DEDE8A #8AB4DE #B48ADE
monochromatic
#B9B934 #D1D15A #DEDE8A #EBEBBA #F8F8E7

Accessibility & contrast

On white

1.41
#DEDE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#DEDE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDE8A
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDE8A#FFFFFF#000000##000000
##DEDE8A1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#ECDB8E
Tritanopia (blue-blind)
#E9D4C9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dede8a;
/* rgb */ color: rgb(222, 222, 138);
/* oklch */ color: oklch(88.2% 0.106 108.4);
Tailwind
colors: {
  custom: {
    50: '#e9e8ad',
    500: '#dede8a',
    950: '#000000',
  },
}
SCSS
$custom: #dede8a;
$custom-light: #e9e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dede8a",
  "rgb": {
    "r": 222,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88196,
    "c": 0.10602,
    "h": 108.4
  },
  "luminance": 0.69607
}

Semantic roles & 50–950 ramp

primary
#DEDE8A
secondary
#5757B5
accent
#22C422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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