#DEDC7E#DEDC7E

#DEDC7E is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.117 H 107.5°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#DEDC7E
RGBrgb(222, 220, 126)
HSLhsl(59, 59%, 68%)
HSVhsv(59, 43%, 87%)
CMYKcmyk(0%, 0.9%, 43.2%, 12.9%)
CIE-LABlab(86.12, -12.48, 46.26)
CIE-LCHlch(86.12, 47.91, 105.10°)
OKLaboklab(87.6% -0.0351 0.1114)
OKLCHoklch(87.6% 0.117 107.5)
XYZxyz(59.4844, 68.2237, 29.7696)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC7E #7E80DE
analogous
#DEAC7E #DEDC7E #B0DE7E
triadic
#DEDC7E #7EDEDC #DC7EDE
tetradic
#DEDC7E #7EDEAC #7E80DE #DE7EB0
square
#DEDC7E #7EDEAC #7E80DE #DE7EB0
split-complementary
#DEDC7E #7EB0DE #AC7EDE
monochromatic
#B4B12E #D2CF4D #DEDC7E #EAE9AF #F7F6DF

Accessibility & contrast

On white

1.43
#DEDC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#DEDC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC7E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC7E#FFFFFF#000000##000000
##DEDC7E1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD576
Deuteranopia (green-blind)
#ECD982
Tritanopia (blue-blind)
#EAD1C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc7e;
/* rgb */ color: rgb(222, 220, 126);
/* oklch */ color: oklch(87.6% 0.117 107.5);
Tailwind
colors: {
  custom: {
    50: '#eae6a5',
    500: '#dedc7e',
    950: '#000000',
  },
}
SCSS
$custom: #dedc7e;
$custom-light: #eae6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc7e",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 58.75,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87598,
    "c": 0.11677,
    "h": 107.5
  },
  "luminance": 0.68222
}

Semantic roles & 50–950 ramp

primary
#DEDC7E
secondary
#4B4EB5
accent
#22C71F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DEDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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