#DEC982#DEC982

#DEC982 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.8% C 0.093 H 93.5°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DEC982
RGBrgb(222, 201, 130)
HSLhsl(46, 58%, 69%)
HSVhsv(46, 41%, 87%)
CMYKcmyk(0%, 9.5%, 41.4%, 12.9%)
CIE-LABlab(81.25, -2.40, 38.12)
CIE-LCHlch(81.25, 38.20, 93.60°)
OKLaboklab(83.75% -0.0057 0.0932)
OKLCHoklch(83.75% 0.093 93.5)
XYZxyz(55.0414, 58.9166, 29.5875)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC982 #8297DE
analogous
#DE9B82 #DEC982 #C5DE82
triadic
#DEC982 #82DEC9 #C982DE
tetradic
#DEC982 #82DE9B #8297DE #DE82C5
square
#DEC982 #82DE9B #8297DE #DE82C5
split-complementary
#DEC982 #82C5DE #9B82DE
monochromatic
#B69730 #D1B452 #DEC982 #EBDEB2 #F8F3E3

Accessibility & contrast

On white

1.64
#DEC982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#DEC982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC982
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC982#FFFFFF#000000##000000
##DEC9821.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67D
Deuteranopia (green-blind)
#DDCD85
Tritanopia (blue-blind)
#EBBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec982;
/* rgb */ color: rgb(222, 201, 130);
/* oklch */ color: oklch(83.8% 0.093 93.5);
Tailwind
colors: {
  custom: {
    50: '#ead9a7',
    500: '#dec982',
    950: '#000000',
  },
}
SCSS
$custom: #dec982;
$custom-light: #ead9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dec982",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 46.304,
    "s": 58.228,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83754,
    "c": 0.09338,
    "h": 93.5
  },
  "luminance": 0.58915
}

Semantic roles & 50–950 ramp

primary
#DEC982
secondary
#4F66B5
accent
#46C620
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC982

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

Preview Lab → · Contrast checker → · Palette generator →

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