#DEC66B#DEC66B

#DEC66B is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.8% C 0.115 H 94.9°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#DEC66B
RGBrgb(222, 198, 107)
HSLhsl(47, 64%, 65%)
HSVhsv(47, 52%, 87%)
CMYKcmyk(0%, 10.8%, 51.8%, 12.9%)
CIE-LABlab(80.17, -3.05, 48.25)
CIE-LCHlch(80.17, 48.34, 93.61°)
OKLaboklab(82.8% -0.0098 0.1143)
OKLCHoklch(82.8% 0.115 94.9)
XYZxyz(52.9740, 56.9816, 22.1152)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC66B #6B83DE
analogous
#DE8D6B #DEC66B #BDDE6B
triadic
#DEC66B #6BDEC6 #C66BDE
tetradic
#DEC66B #6BDE8D #6B83DE #DE6BBD
square
#DEC66B #6BDE8D #6B83DE #DE6BBD
split-complementary
#DEC66B #6BBDDE #8D6BDE
monochromatic
#A98E26 #D3B339 #DEC66B #E9D99D #F4EDCF

Accessibility & contrast

On white

1.69
#DEC66B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#DEC66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC66B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC66B#FFFFFF#000000##000000
##DEC66B1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C263
Deuteranopia (green-blind)
#DDCA6F
Tritanopia (blue-blind)
#EDBAB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec66b;
/* rgb */ color: rgb(222, 198, 107);
/* oklch */ color: oklch(82.8% 0.115 94.9);
Tailwind
colors: {
  custom: {
    50: '#ead797',
    500: '#dec66b',
    950: '#000000',
  },
}
SCSS
$custom: #dec66b;
$custom-light: #ead797;
$custom-dark: #000000;
JSON
{
  "hex": "#dec66b",
  "rgb": {
    "r": 222,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 47.478,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82804,
    "c": 0.11474,
    "h": 94.9
  },
  "luminance": 0.56979
}

Semantic roles & 50–950 ramp

primary
#DEC66B
secondary
#4258AB
accent
#3FCB1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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