#DEDC7B#DEDC7B

#DEDC7B is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.6% C 0.120 H 107.6°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#DEDC7B
RGBrgb(222, 220, 123)
HSLhsl(59, 60%, 68%)
HSVhsv(59, 45%, 87%)
CMYKcmyk(0%, 0.9%, 44.6%, 12.9%)
CIE-LABlab(86.08, -12.77, 47.67)
CIE-LCHlch(86.08, 49.35, 105.00°)
OKLaboklab(87.56% -0.0362 0.1143)
OKLCHoklch(87.56% 0.12 107.6)
XYZxyz(59.2937, 68.1475, 28.7654)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC7B #7B7DDE
analogous
#DEAB7B #DEDC7B #AEDE7B
triadic
#DEDC7B #7BDEDC #DC7BDE
tetradic
#DEDC7B #7BDEAB #7B7DDE #DE7BAE
square
#DEDC7B #7BDEAB #7B7DDE #DE7BAE
split-complementary
#DEDC7B #7BAEDE #AB7BDE
monochromatic
#B2AF2D #D2CF4A #DEDC7B #EAE9AC #F6F6DD

Accessibility & contrast

On white

1.44
#DEDC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#DEDC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC7B
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC7B#FFFFFF#000000##000000
##DEDC7B1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD573
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#EBD1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc7b;
/* rgb */ color: rgb(222, 220, 123);
/* oklch */ color: oklch(87.6% 0.120 107.6);
Tailwind
colors: {
  custom: {
    50: '#eae6a3',
    500: '#dedc7b',
    950: '#000000',
  },
}
SCSS
$custom: #dedc7b;
$custom-light: #eae6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc7b",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 123
  },
  "hsl": {
    "h": 58.788,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87555,
    "c": 0.11991,
    "h": 107.6
  },
  "luminance": 0.68146
}

Semantic roles & 50–950 ramp

primary
#DEDC7B
secondary
#494CB4
accent
#21C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DEDC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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