#DEC478#DEC478

#DEC478 is a very light, moderate orange. Relative luminance 0.564; OKLCH L 82.6% C 0.100 H 91.2°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DEC478
RGBrgb(222, 196, 120)
HSLhsl(45, 61%, 67%)
HSVhsv(45, 46%, 87%)
CMYKcmyk(0%, 11.7%, 45.9%, 12.9%)
CIE-LABlab(79.82, -0.82, 41.39)
CIE-LCHlch(79.82, 41.39, 91.14°)
OKLaboklab(82.59% -0.0021 0.1001)
OKLCHoklch(82.59% 0.1 91.2)
XYZxyz(53.2559, 56.3677, 25.8405)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC478 #7892DE
analogous
#DE9178 #DEC478 #C5DE78
triadic
#DEC478 #78DEC4 #C478DE
tetradic
#DEC478 #78DE91 #7892DE #DE78C5
square
#DEC478 #78DE91 #7892DE #DE78C5
split-complementary
#DEC478 #78C5DE #9178DE
monochromatic
#B08E2B #D2AF47 #DEC478 #EAD9A9 #F6EFDA

Accessibility & contrast

On white

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

On black

12.27
#DEC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC478
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC478#FFFFFF#000000##000000
##DEC4781.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec478;
/* rgb */ color: rgb(222, 196, 120);
/* oklch */ color: oklch(82.6% 0.100 91.2);
Tailwind
colors: {
  custom: {
    50: '#ead5a0',
    500: '#dec478',
    950: '#000000',
  },
}
SCSS
$custom: #dec478;
$custom-light: #ead5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dec478",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 44.706,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82585,
    "c": 0.10007,
    "h": 91.2
  },
  "luminance": 0.56366
}

Semantic roles & 50–950 ramp

primary
#DEC478
secondary
#4863B2
accent
#49C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC478

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

Preview Lab → · Contrast checker → · Palette generator →

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