#DED181#DED181

#DED181 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.102 H 100.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DED181
RGBrgb(222, 209, 129)
HSLhsl(52, 58%, 69%)
HSVhsv(52, 42%, 87%)
CMYKcmyk(0%, 5.9%, 41.9%, 12.9%)
CIE-LABlab(83.29, -6.62, 41.24)
CIE-LCHlch(83.29, 41.76, 99.12°)
OKLaboklab(85.37% -0.018 0.1002)
OKLCHoklch(85.37% 0.102 100.2)
XYZxyz(56.8883, 62.7172, 29.8736)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED181 #818EDE
analogous
#DEA381 #DED181 #BDDE81
triadic
#DED181 #81DED1 #D181DE
tetradic
#DED181 #81DEA3 #818EDE #DE81BD
square
#DED181 #81DEA3 #818EDE #DE81BD
split-complementary
#DED181 #81BDDE #A381DE
monochromatic
#B5A22F #D1BF51 #DED181 #EBE3B1 #F7F4E2

Accessibility & contrast

On white

1.55
#DED181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#DED181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED181
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED181#FFFFFF#000000##000000
##DED1811.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC7B
Deuteranopia (green-blind)
#E3D284
Tritanopia (blue-blind)
#EBC7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded181;
/* rgb */ color: rgb(222, 209, 129);
/* oklch */ color: oklch(85.4% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#eadea7',
    500: '#ded181',
    950: '#000000',
  },
}
SCSS
$custom: #ded181;
$custom-light: #eadea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded181",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 129
  },
  "hsl": {
    "h": 51.613,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85369,
    "c": 0.10184,
    "h": 100.2
  },
  "luminance": 0.62716
}

Semantic roles & 50–950 ramp

primary
#DED181
secondary
#4E5DB5
accent
#37C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED181

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

Preview Lab → · Contrast checker → · Palette generator →

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