#DEC861#DEC861

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

Color values

HEX#DEC861
RGBrgb(222, 200, 97)
HSLhsl(49, 65%, 63%)
HSVhsv(49, 56%, 87%)
CMYKcmyk(0%, 9.9%, 56.3%, 12.9%)
CIE-LABlab(80.57, -4.88, 53.47)
CIE-LCHlch(80.57, 53.69, 95.22°)
OKLaboklab(83.09% -0.0163 0.1247)
OKLCHoklch(83.09% 0.126 97.4)
XYZxyz(52.9381, 57.7035, 19.6563)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC861 #6177DE
analogous
#DE8961 #DEC861 #B5DE61
triadic
#DEC861 #61DEC8 #C861DE
tetradic
#DEC861 #61DE89 #6177DE #DE61B5
square
#DEC861 #61DE89 #6177DE #DE61B5
split-complementary
#DEC861 #61B5DE #8961DE
monochromatic
#A38C22 #D3B62E #DEC861 #E9DA94 #F3EBC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC861#FFFFFF#000000##000000
##DEC8611.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)
#D9C457
Deuteranopia (green-blind)
#DFCB66
Tritanopia (blue-blind)
#EEBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec861;
/* rgb */ color: rgb(222, 200, 97);
/* oklch */ color: oklch(83.1% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#ebd891',
    500: '#dec861',
    950: '#000000',
  },
}
SCSS
$custom: #dec861;
$custom-light: #ebd891;
$custom-dark: #000000;
JSON
{
  "hex": "#dec861",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 97
  },
  "hsl": {
    "h": 49.44,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83088,
    "c": 0.12575,
    "h": 97.4
  },
  "luminance": 0.57701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC861

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

Preview Lab → · Contrast checker → · Palette generator →

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