#DEC782#DEC782

#DEC782 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.4% C 0.092 H 91.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#DEC782
RGBrgb(222, 199, 130)
HSLhsl(45, 58%, 69%)
HSVhsv(45, 41%, 87%)
CMYKcmyk(0%, 10.4%, 41.4%, 12.9%)
CIE-LABlab(80.73, -1.37, 37.46)
CIE-LCHlch(80.73, 37.49, 92.09°)
OKLaboklab(83.35% -0.0027 0.0917)
OKLCHoklch(83.35% 0.092 91.7)
XYZxyz(54.5782, 57.9902, 29.4331)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC782 #8299DE
analogous
#DE9982 #DEC782 #C7DE82
triadic
#DEC782 #82DEC7 #C782DE
tetradic
#DEC782 #82DE99 #8299DE #DE82C7
square
#DEC782 #82DE99 #8299DE #DE82C7
split-complementary
#DEC782 #82C7DE #9982DE
monochromatic
#B69430 #D1B152 #DEC782 #EBDDB2 #F8F2E3

Accessibility & contrast

On white

1.67
#DEC782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#DEC782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC782
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC782#FFFFFF#000000##000000
##DEC7821.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47D
Deuteranopia (green-blind)
#DBCB84
Tritanopia (blue-blind)
#EBBDB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec782;
/* rgb */ color: rgb(222, 199, 130);
/* oklch */ color: oklch(83.4% 0.092 91.7);
Tailwind
colors: {
  custom: {
    50: '#ead7a7',
    500: '#dec782',
    950: '#000000',
  },
}
SCSS
$custom: #dec782;
$custom-light: #ead7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dec782",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 130
  },
  "hsl": {
    "h": 45,
    "s": 58.228,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8335,
    "c": 0.09173,
    "h": 91.7
  },
  "luminance": 0.57988
}

Semantic roles & 50–950 ramp

primary
#DEC782
secondary
#4F69B5
accent
#49C620
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC782

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

Preview Lab → · Contrast checker → · Palette generator →

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