#DED281#DED281

#DED281 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.6% C 0.103 H 100.9°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DED281
RGBrgb(222, 210, 129)
HSLhsl(52, 58%, 69%)
HSVhsv(52, 42%, 87%)
CMYKcmyk(0%, 5.4%, 41.9%, 12.9%)
CIE-LABlab(83.55, -7.13, 41.56)
CIE-LCHlch(83.55, 42.17, 99.73°)
OKLaboklab(85.57% -0.0195 0.101)
OKLCHoklch(85.57% 0.103 100.9)
XYZxyz(57.1344, 63.2095, 29.9556)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED281 #818DDE
analogous
#DEA481 #DED281 #BCDE81
triadic
#DED281 #81DED2 #D281DE
tetradic
#DED281 #81DEA4 #818DDE #DE81BC
square
#DED281 #81DEA4 #818DDE #DE81BC
split-complementary
#DED281 #81BCDE #A481DE
monochromatic
#B5A42F #D1C151 #DED281 #EBE3B1 #F7F5E2

Accessibility & contrast

On white

1.54
#DED281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DED281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED281
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED281#FFFFFF#000000##000000
##DED2811.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#EBC8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded281;
/* rgb */ color: rgb(222, 210, 129);
/* oklch */ color: oklch(85.6% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#eadfa7',
    500: '#ded281',
    950: '#000000',
  },
}
SCSS
$custom: #ded281;
$custom-light: #eadfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded281",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 52.258,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.85574,
    "c": 0.10285,
    "h": 100.9
  },
  "luminance": 0.63208
}

Semantic roles & 50–950 ramp

primary
#DED281
secondary
#4E5CB5
accent
#35C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED281

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

Preview Lab → · Contrast checker → · Palette generator →

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