#DEC966#DEC966

#DEC966 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.122 H 97.6°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DEC966
RGBrgb(222, 201, 102)
HSLhsl(50, 65%, 64%)
HSVhsv(50, 54%, 87%)
CMYKcmyk(0%, 9.5%, 54.1%, 12.9%)
CIE-LABlab(80.89, -5.01, 51.49)
CIE-LCHlch(80.89, 51.73, 95.55°)
OKLaboklab(83.35% -0.0161 0.1209)
OKLCHoklch(83.35% 0.122 97.6)
XYZxyz(53.4110, 58.2644, 21.0005)
Luminance0.5826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC966 #667BDE
analogous
#DE8D66 #DEC966 #B7DE66
triadic
#DEC966 #66DEC9 #C966DE
tetradic
#DEC966 #66DE8D #667BDE #DE66B7
square
#DEC966 #66DE8D #667BDE #DE66B7
split-complementary
#DEC966 #66B7DE #8D66DE
monochromatic
#A68F24 #D3B734 #DEC966 #E9DB98 #F4EDCB

Accessibility & contrast

On white

1.66
#DEC966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#DEC966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC966
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC966#FFFFFF#000000##000000
##DEC9661.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#EDBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec966;
/* rgb */ color: rgb(222, 201, 102);
/* oklch */ color: oklch(83.4% 0.122 97.6);
Tailwind
colors: {
  custom: {
    50: '#ebd994',
    500: '#dec966',
    950: '#000000',
  },
}
SCSS
$custom: #dec966;
$custom-light: #ebd994;
$custom-dark: #000000;
JSON
{
  "hex": "#dec966",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 102
  },
  "hsl": {
    "h": 49.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83353,
    "c": 0.12199,
    "h": 97.6
  },
  "luminance": 0.58262
}

Semantic roles & 50–950 ramp

primary
#DEC966
secondary
#4052A9
accent
#39CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DEC966

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

Preview Lab → · Contrast checker → · Palette generator →

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