#DEDC81#DEDC81

#DEDC81 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.114 H 107.4°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#DEDC81
RGBrgb(222, 220, 129)
HSLhsl(59, 58%, 69%)
HSVhsv(59, 42%, 87%)
CMYKcmyk(0%, 0.9%, 41.9%, 12.9%)
CIE-LABlab(86.16, -12.18, 44.84)
CIE-LCHlch(86.16, 46.46, 105.19°)
OKLaboklab(87.64% -0.034 0.1084)
OKLCHoklch(87.64% 0.114 107.4)
XYZxyz(59.6809, 68.3023, 30.8044)
Luminance0.6830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC81 #8183DE
analogous
#DEAE81 #DEDC81 #B2DE81
triadic
#DEDC81 #81DEDC #DC81DE
tetradic
#DEDC81 #81DEAE #8183DE #DE81B2
square
#DEDC81 #81DEAE #8183DE #DE81B2
split-complementary
#DEDC81 #81B2DE #AE81DE
monochromatic
#B5B22F #D1CF51 #DEDC81 #EBE9B1 #F7F7E2

Accessibility & contrast

On white

1.43
#DEDC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#DEDC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC81
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC81#FFFFFF#000000##000000
##DEDC811.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD57A
Deuteranopia (green-blind)
#EBD985
Tritanopia (blue-blind)
#EAD2C6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc81;
/* rgb */ color: rgb(222, 220, 129);
/* oklch */ color: oklch(87.6% 0.114 107.4);
Tailwind
colors: {
  custom: {
    50: '#eae6a7',
    500: '#dedc81',
    950: '#000000',
  },
}
SCSS
$custom: #dedc81;
$custom-light: #eae6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc81",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 129
  },
  "hsl": {
    "h": 58.71,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87641,
    "c": 0.11357,
    "h": 107.4
  },
  "luminance": 0.68301
}

Semantic roles & 50–950 ramp

primary
#DEDC81
secondary
#4E50B5
accent
#23C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DEDC81

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

Preview Lab → · Contrast checker → · Palette generator →

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