#DED158#DED158

#DED158 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.141 H 103.2°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#DED158
RGBrgb(222, 209, 88)
HSLhsl(54, 67%, 61%)
HSVhsv(54, 60%, 87%)
CMYKcmyk(0%, 5.9%, 60.4%, 12.9%)
CIE-LABlab(82.83, -10.11, 60.05)
CIE-LCHlch(82.83, 60.89, 99.56°)
OKLaboklab(84.85% -0.0323 0.1377)
OKLCHoklch(84.85% 0.141 103.2)
XYZxyz(54.6881, 61.8371, 18.2857)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED158 #5865DE
analogous
#DE8E58 #DED158 #A8DE58
triadic
#DED158 #58DED1 #D158DE
tetradic
#DED158 #58DE8E #5865DE #DE58A8
square
#DED158 #58DE8E #5865DE #DE58A8
split-complementary
#DED158 #58A8DE #8E58DE
monochromatic
#9D901F #D0C029 #DED158 #E8DF8B #F2EDBE

Accessibility & contrast

On white

1.57
#DED158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#DED158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED158
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED158#FFFFFF#000000##000000
##DED1581.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4A
Deuteranopia (green-blind)
#E6D15F
Tritanopia (blue-blind)
#EDC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ded158;
/* rgb */ color: rgb(222, 209, 88);
/* oklch */ color: oklch(84.8% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#ebde8c',
    500: '#ded158',
    950: '#000000',
  },
}
SCSS
$custom: #ded158;
$custom-light: #ebde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded158",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 54.179,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84848,
    "c": 0.14139,
    "h": 103.2
  },
  "luminance": 0.61835
}

Semantic roles & 50–950 ramp

primary
#DED158
secondary
#3A44A0
accent
#28CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED158

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

Preview Lab → · Contrast checker → · Palette generator →

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