#DED151#DED151

#DED151 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.147 H 103.5°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DED151
RGBrgb(222, 209, 81)
HSLhsl(54, 68%, 59%)
HSVhsv(54, 64%, 87%)
CMYKcmyk(0%, 5.9%, 63.5%, 12.9%)
CIE-LABlab(82.77, -10.56, 62.95)
CIE-LCHlch(82.77, 63.83, 99.52°)
OKLaboklab(84.78% -0.0343 0.1428)
OKLCHoklch(84.78% 0.147 103.5)
XYZxyz(54.4119, 61.7267, 16.8313)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED151 #515EDE
analogous
#DE8B51 #DED151 #A5DE51
triadic
#DED151 #51DED1 #D151DE
tetradic
#DED151 #51DE8B #515EDE #DE51A5
square
#DED151 #51DE8B #515EDE #DE51A5
split-complementary
#DED151 #51A5DE #8B51DE
monochromatic
#988C1D #CBBC27 #DED151 #E8DF84 #F2ECB8

Accessibility & contrast

On white

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

On black

13.35
#DED151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED151
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED151#FFFFFF#000000##000000
##DED1511.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#EEC3B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ded151;
/* rgb */ color: rgb(222, 209, 81);
/* oklch */ color: oklch(84.8% 0.147 103.5);
Tailwind
colors: {
  custom: {
    50: '#ebde88',
    500: '#ded151',
    950: '#000000',
  },
}
SCSS
$custom: #ded151;
$custom-light: #ebde88;
$custom-dark: #000000;
JSON
{
  "hex": "#ded151",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 54.468,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84782,
    "c": 0.14691,
    "h": 103.5
  },
  "luminance": 0.61725
}

Semantic roles & 50–950 ramp

primary
#DED151
secondary
#37419C
accent
#4DEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED151

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

Preview Lab → · Contrast checker → · Palette generator →

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