#DEDC6D#DEDC6D

#DEDC6D is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.4% C 0.134 H 107.9°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#DEDC6D
RGBrgb(222, 220, 109)
HSLhsl(59, 63%, 65%)
HSVhsv(59, 51%, 87%)
CMYKcmyk(0%, 0.9%, 50.9%, 12.9%)
CIE-LABlab(85.92, -14.04, 54.11)
CIE-LCHlch(85.92, 55.90, 104.54°)
OKLaboklab(87.37% -0.0412 0.1273)
OKLCHoklch(87.37% 0.134 107.9)
XYZxyz(58.4792, 67.8216, 24.4754)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC6D #6D6FDE
analogous
#DEA46D #DEDC6D #A8DE6D
triadic
#DEDC6D #6DDEDC #DC6DDE
tetradic
#DEDC6D #6DDEA4 #6D6FDE #DE6DA8
square
#DEDC6D #6DDEA4 #6D6FDE #DE6DA8
split-complementary
#DEDC6D #6DA8DE #A46DDE
monochromatic
#AAA826 #D3D03B #DEDC6D #E9E89F #F5F4D1

Accessibility & contrast

On white

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

On black

14.56
#DEDC6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC6D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC6D#FFFFFF#000000##000000
##DEDC6D1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD463
Deuteranopia (green-blind)
#EDD973
Tritanopia (blue-blind)
#ECD0C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc6d;
/* rgb */ color: rgb(222, 220, 109);
/* oklch */ color: oklch(87.4% 0.134 107.9);
Tailwind
colors: {
  custom: {
    50: '#eae69a',
    500: '#dedc6d',
    950: '#000000',
  },
}
SCSS
$custom: #dedc6d;
$custom-light: #eae69a;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc6d",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 109
  },
  "hsl": {
    "h": 58.938,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87373,
    "c": 0.13382,
    "h": 107.9
  },
  "luminance": 0.6782
}

Semantic roles & 50–950 ramp

primary
#DEDC6D
secondary
#4345AC
accent
#1ECB1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DEDC6D

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

Preview Lab → · Contrast checker → · Palette generator →

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