#DEC362#DEC362

#DEC362 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.121 H 94.0°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#DEC362
RGBrgb(222, 195, 98)
HSLhsl(47, 65%, 63%)
HSVhsv(47, 56%, 87%)
CMYKcmyk(0%, 12.2%, 55.9%, 12.9%)
CIE-LABlab(79.30, -2.23, 51.52)
CIE-LCHlch(79.30, 51.57, 92.47°)
OKLaboklab(82.08% -0.0085 0.1206)
OKLCHoklch(82.08% 0.121 94)
XYZxyz(51.8460, 55.4441, 19.5238)
Luminance0.5544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC362 #627DDE
analogous
#DE8562 #DEC362 #BBDE62
triadic
#DEC362 #62DEC3 #C362DE
tetradic
#DEC362 #62DE85 #627DDE #DE62BB
square
#DEC362 #62DE85 #627DDE #DE62BB
split-complementary
#DEC362 #62BBDE #8562DE
monochromatic
#A38722 #D3B02F #DEC362 #E9D695 #F3EAC7

Accessibility & contrast

On white

1.74
#DEC362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#DEC362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC362
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC362#FFFFFF#000000##000000
##DEC3621.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C059
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#EEB6AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dec362;
/* rgb */ color: rgb(222, 195, 98);
/* oklch */ color: oklch(82.1% 0.121 94.0);
Tailwind
colors: {
  custom: {
    50: '#ebd491',
    500: '#dec362',
    950: '#000000',
  },
}
SCSS
$custom: #dec362;
$custom-light: #ebd491;
$custom-dark: #000000;
JSON
{
  "hex": "#dec362",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 98
  },
  "hsl": {
    "h": 46.935,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82082,
    "c": 0.12089,
    "h": 94
  },
  "luminance": 0.55442
}

Semantic roles & 50–950 ramp

primary
#DEC362
secondary
#3E55A6
accent
#40CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC362

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

Preview Lab → · Contrast checker → · Palette generator →

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