#DEC476#DEC476

#DEC476 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.6% C 0.102 H 91.6°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#DEC476
RGBrgb(222, 196, 118)
HSLhsl(45, 61%, 67%)
HSVhsv(45, 47%, 87%)
CMYKcmyk(0%, 11.7%, 46.8%, 12.9%)
CIE-LABlab(79.80, -1.02, 42.36)
CIE-LCHlch(79.80, 42.37, 91.37°)
OKLaboklab(82.55% -0.0028 0.1021)
OKLCHoklch(82.55% 0.102 91.6)
XYZxyz(53.1358, 56.3197, 25.2079)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC476 #7690DE
analogous
#DE9076 #DEC476 #C4DE76
triadic
#DEC476 #76DEC4 #C476DE
tetradic
#DEC476 #76DE90 #7690DE #DE76C4
square
#DEC476 #76DE90 #7690DE #DE76C4
split-complementary
#DEC476 #76C4DE #9076DE
monochromatic
#AF8E2A #D2AF45 #DEC476 #EAD9A7 #F6EED9

Accessibility & contrast

On white

1.71
#DEC476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#DEC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC476
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC476#FFFFFF#000000##000000
##DEC4761.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C170
Deuteranopia (green-blind)
#DAC979
Tritanopia (blue-blind)
#ECB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec476;
/* rgb */ color: rgb(222, 196, 118);
/* oklch */ color: oklch(82.6% 0.102 91.6);
Tailwind
colors: {
  custom: {
    50: '#ead59f',
    500: '#dec476',
    950: '#000000',
  },
}
SCSS
$custom: #dec476;
$custom-light: #ead59f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec476",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 45,
    "s": 61.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82554,
    "c": 0.10215,
    "h": 91.6
  },
  "luminance": 0.56317
}

Semantic roles & 50–950 ramp

primary
#DEC476
secondary
#4762B1
accent
#48C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC476

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

Preview Lab → · Contrast checker → · Palette generator →

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