#DEC862#DEC862

#DEC862 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.125 H 97.3°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DEC862
RGBrgb(222, 200, 98)
HSLhsl(49, 65%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 9.9%, 55.9%, 12.9%)
CIE-LABlab(80.58, -4.81, 53.02)
CIE-LCHlch(80.58, 53.24, 95.18°)
OKLaboklab(83.1% -0.0159 0.1238)
OKLCHoklch(83.1% 0.125 97.3)
XYZxyz(52.9851, 57.7222, 19.9035)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC862 #6278DE
analogous
#DE8A62 #DEC862 #B6DE62
triadic
#DEC862 #62DEC8 #C862DE
tetradic
#DEC862 #62DE8A #6278DE #DE62B6
square
#DEC862 #62DE8A #6278DE #DE62B6
split-complementary
#DEC862 #62B6DE #8A62DE
monochromatic
#A38C22 #D3B62F #DEC862 #E9DA95 #F3EBC7

Accessibility & contrast

On white

1.67
#DEC862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DEC862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC862
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC862#FFFFFF#000000##000000
##DEC8621.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C458
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#EEBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec862;
/* rgb */ color: rgb(222, 200, 98);
/* oklch */ color: oklch(83.1% 0.125 97.3);
Tailwind
colors: {
  custom: {
    50: '#ebd892',
    500: '#dec862',
    950: '#000000',
  },
}
SCSS
$custom: #dec862;
$custom-light: #ebd892;
$custom-dark: #000000;
JSON
{
  "hex": "#dec862",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 98
  },
  "hsl": {
    "h": 49.355,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.831,
    "c": 0.12484,
    "h": 97.3
  },
  "luminance": 0.5772
}

Semantic roles & 50–950 ramp

primary
#DEC862
secondary
#3E50A6
accent
#38CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC862

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

Preview Lab → · Contrast checker → · Palette generator →

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