#DEC960#DEC960

#DEC960 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.127 H 98.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DEC960
RGBrgb(222, 201, 96)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.5%, 56.8%, 12.9%)
CIE-LABlab(80.82, -5.47, 54.22)
CIE-LCHlch(80.82, 54.50, 95.76°)
OKLaboklab(83.28% -0.0181 0.1262)
OKLCHoklch(83.28% 0.127 98.2)
XYZxyz(53.1242, 58.1497, 19.4898)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC960 #6075DE
analogous
#DE8A60 #DEC960 #B4DE60
triadic
#DEC960 #60DEC9 #C960DE
tetradic
#DEC960 #60DE8A #6075DE #DE60B4
square
#DEC960 #60DE8A #6075DE #DE60B4
split-complementary
#DEC960 #60B4DE #8A60DE
monochromatic
#A28D22 #D3B82D #DEC960 #E9DA93 #F3EBC5

Accessibility & contrast

On white

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

On black

12.63
#DEC960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC960
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC960#FFFFFF#000000##000000
##DEC9601.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC456
Deuteranopia (green-blind)
#E0CC65
Tritanopia (blue-blind)
#EEBCB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec960;
/* rgb */ color: rgb(222, 201, 96);
/* oklch */ color: oklch(83.3% 0.127 98.2);
Tailwind
colors: {
  custom: {
    50: '#ebd990',
    500: '#dec960',
    950: '#000000',
  },
}
SCSS
$custom: #dec960;
$custom-light: #ebd990;
$custom-dark: #000000;
JSON
{
  "hex": "#dec960",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 96
  },
  "hsl": {
    "h": 50,
    "s": 65.625,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83282,
    "c": 0.12748,
    "h": 98.2
  },
  "luminance": 0.58147
}

Semantic roles & 50–950 ramp

primary
#DEC960
secondary
#3D4EA5
accent
#36CD18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC960

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

Preview Lab → · Contrast checker → · Palette generator →

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