#DEC166#DEC166

#DEC166 is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.116 H 92.0°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DEC166
RGBrgb(222, 193, 102)
HSLhsl(46, 65%, 64%)
HSVhsv(46, 54%, 87%)
CMYKcmyk(0%, 13.1%, 54.1%, 12.9%)
CIE-LABlab(78.83, -0.87, 49.06)
CIE-LCHlch(78.83, 49.07, 91.02°)
OKLaboklab(81.73% -0.0041 0.1157)
OKLCHoklch(81.73% 0.116 92)
XYZxyz(51.5945, 54.6313, 20.3950)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC166 #6683DE
analogous
#DE8566 #DEC166 #BFDE66
triadic
#DEC166 #66DEC1 #C166DE
tetradic
#DEC166 #66DE85 #6683DE #DE66BF
square
#DEC166 #66DE85 #6683DE #DE66BF
split-complementary
#DEC166 #66BFDE #8566DE
monochromatic
#A68624 #D3AD34 #DEC166 #E9D598 #F4EACB

Accessibility & contrast

On white

1.76
#DEC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DEC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC166
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC166#FFFFFF#000000##000000
##DEC1661.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE5E
Deuteranopia (green-blind)
#D9C76A
Tritanopia (blue-blind)
#EEB4AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dec166;
/* rgb */ color: rgb(222, 193, 102);
/* oklch */ color: oklch(81.7% 0.116 92.0);
Tailwind
colors: {
  custom: {
    50: '#ebd394',
    500: '#dec166',
    950: '#000000',
  },
}
SCSS
$custom: #dec166;
$custom-light: #ebd394;
$custom-dark: #000000;
JSON
{
  "hex": "#dec166",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 45.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81726,
    "c": 0.11572,
    "h": 92
  },
  "luminance": 0.54629
}

Semantic roles & 50–950 ramp

primary
#DEC166
secondary
#4059A9
accent
#44CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC166

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

Preview Lab → · Contrast checker → · Palette generator →

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