#DED55B#DED55B

#DED55B is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.143 H 105.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DED55B
RGBrgb(222, 213, 91)
HSLhsl(56, 66%, 61%)
HSVhsv(56, 59%, 87%)
CMYKcmyk(0%, 4.1%, 59%, 12.9%)
CIE-LABlab(83.90, -11.92, 59.92)
CIE-LCHlch(83.90, 61.10, 101.25°)
OKLaboklab(85.71% -0.0371 0.1378)
OKLCHoklch(85.71% 0.143 105.1)
XYZxyz(55.8087, 63.8753, 19.2849)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED55B #5B64DE
analogous
#DE945B #DED55B #A6DE5B
triadic
#DED55B #5BDED5 #D55BDE
tetradic
#DED55B #5BDE94 #5B64DE #DE5BA6
square
#DED55B #5BDE94 #5B64DE #DE5BA6
split-complementary
#DED55B #5BA6DE #945BDE
monochromatic
#9F9620 #D2C62A #DED55B #E8E28E #F3EFC1

Accessibility & contrast

On white

1.52
#DED55B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DED55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED55B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED55B#FFFFFF#000000##000000
##DED55B1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4E
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#EDC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded55b;
/* rgb */ color: rgb(222, 213, 91);
/* oklch */ color: oklch(85.7% 0.143 105.1);
Tailwind
colors: {
  custom: {
    50: '#ebe18e',
    500: '#ded55b',
    950: '#000000',
  },
}
SCSS
$custom: #ded55b;
$custom-light: #ebe18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded55b",
  "rgb": {
    "r": 222,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 55.878,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8571,
    "c": 0.14271,
    "h": 105.1
  },
  "luminance": 0.63873
}

Semantic roles & 50–950 ramp

primary
#DED55B
secondary
#3B42A2
accent
#24CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED55B

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

Preview Lab → · Contrast checker → · Palette generator →

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