#DEC866#DEC866

#DEC866 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.121 H 96.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DEC866
RGBrgb(222, 200, 102)
HSLhsl(49, 65%, 64%)
HSVhsv(49, 54%, 87%)
CMYKcmyk(0%, 9.9%, 54.1%, 12.9%)
CIE-LABlab(80.63, -4.49, 51.19)
CIE-LCHlch(80.63, 51.38, 95.01°)
OKLaboklab(83.15% -0.0146 0.1203)
OKLCHoklch(83.15% 0.121 96.9)
XYZxyz(53.1787, 57.7997, 20.9231)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC866 #667CDE
analogous
#DE8C66 #DEC866 #B8DE66
triadic
#DEC866 #66DEC8 #C866DE
tetradic
#DEC866 #66DE8C #667CDE #DE66B8
square
#DEC866 #66DE8C #667CDE #DE66B8
split-complementary
#DEC866 #66B8DE #8C66DE
monochromatic
#A68E24 #D3B634 #DEC866 #E9DA98 #F4ECCB

Accessibility & contrast

On white

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

On black

12.56
#DEC866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC866
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC866#FFFFFF#000000##000000
##DEC8661.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45D
Deuteranopia (green-blind)
#DFCB6A
Tritanopia (blue-blind)
#EDBCB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec866;
/* rgb */ color: rgb(222, 200, 102);
/* oklch */ color: oklch(83.1% 0.121 96.9);
Tailwind
colors: {
  custom: {
    50: '#ebd894',
    500: '#dec866',
    950: '#000000',
  },
}
SCSS
$custom: #dec866;
$custom-light: #ebd894;
$custom-dark: #000000;
JSON
{
  "hex": "#dec866",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 49,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83148,
    "c": 0.12115,
    "h": 96.9
  },
  "luminance": 0.57797
}

Semantic roles & 50–950 ramp

primary
#DEC866
secondary
#4053A9
accent
#3ACC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC866

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

Preview Lab → · Contrast checker → · Palette generator →

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