#DEC474#DEC474

#DEC474 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.104 H 92.0°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#DEC474
RGBrgb(222, 196, 116)
HSLhsl(45, 62%, 66%)
HSVhsv(45, 48%, 87%)
CMYKcmyk(0%, 11.7%, 47.7%, 12.9%)
CIE-LABlab(79.77, -1.21, 43.33)
CIE-LCHlch(79.77, 43.34, 91.59°)
OKLaboklab(82.53% -0.0036 0.1041)
OKLCHoklch(82.53% 0.104 92)
XYZxyz(53.0182, 56.2727, 24.5886)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC474 #748EDE
analogous
#DE8F74 #DEC474 #C3DE74
triadic
#DEC474 #74DEC4 #C474DE
tetradic
#DEC474 #74DE8F #748EDE #DE74C3
square
#DEC474 #74DE8F #748EDE #DE74C3
split-complementary
#DEC474 #74C3DE #8F74DE
monochromatic
#AE8E29 #D2AF43 #DEC474 #EAD9A5 #F5EED7

Accessibility & contrast

On white

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

On black

12.25
#DEC474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC474
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC474#FFFFFF#000000##000000
##DEC4741.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16D
Deuteranopia (green-blind)
#DAC977
Tritanopia (blue-blind)
#EDB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dec474;
/* rgb */ color: rgb(222, 196, 116);
/* oklch */ color: oklch(82.5% 0.104 92.0);
Tailwind
colors: {
  custom: {
    50: '#ead59d',
    500: '#dec474',
    950: '#000000',
  },
}
SCSS
$custom: #dec474;
$custom-light: #ead59d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec474",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 45.283,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.1042,
    "h": 92
  },
  "luminance": 0.5627
}

Semantic roles & 50–950 ramp

primary
#DEC474
secondary
#4660B0
accent
#47C91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC474

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

Preview Lab → · Contrast checker → · Palette generator →

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