#DEC462#DEC462

#DEC462 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.122 H 94.7°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#DEC462
RGBrgb(222, 196, 98)
HSLhsl(47, 65%, 63%)
HSVhsv(47, 56%, 87%)
CMYKcmyk(0%, 11.7%, 55.9%, 12.9%)
CIE-LABlab(79.55, -2.74, 51.82)
CIE-LCHlch(79.55, 51.90, 93.03°)
OKLaboklab(82.29% -0.01 0.1212)
OKLCHoklch(82.29% 0.122 94.7)
XYZxyz(52.0708, 55.8937, 19.5987)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC462 #627CDE
analogous
#DE8662 #DEC462 #BADE62
triadic
#DEC462 #62DEC4 #C462DE
tetradic
#DEC462 #62DE86 #627CDE #DE62BA
square
#DEC462 #62DE86 #627CDE #DE62BA
split-complementary
#DEC462 #62BADE #8662DE
monochromatic
#A38822 #D3B12F #DEC462 #E9D795 #F3EAC7

Accessibility & contrast

On white

1.72
#DEC462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#DEC462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC462
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC462#FFFFFF#000000##000000
##DEC4621.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#DCC966
Tritanopia (blue-blind)
#EEB7AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec462;
/* rgb */ color: rgb(222, 196, 98);
/* oklch */ color: oklch(82.3% 0.122 94.7);
Tailwind
colors: {
  custom: {
    50: '#ebd591',
    500: '#dec462',
    950: '#000000',
  },
}
SCSS
$custom: #dec462;
$custom-light: #ebd591;
$custom-dark: #000000;
JSON
{
  "hex": "#dec462",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 98
  },
  "hsl": {
    "h": 47.419,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82285,
    "c": 0.12165,
    "h": 94.7
  },
  "luminance": 0.55891
}

Semantic roles & 50–950 ramp

primary
#DEC462
secondary
#3E54A6
accent
#3ECD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC462

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

Preview Lab → · Contrast checker → · Palette generator →

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