#DECC6A#DECC6A

#DECC6A is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.121 H 99.1°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#DECC6A
RGBrgb(222, 204, 106)
HSLhsl(51, 64%, 64%)
HSVhsv(51, 52%, 87%)
CMYKcmyk(0%, 8.1%, 52.3%, 12.9%)
CIE-LABlab(81.71, -6.22, 50.56)
CIE-LCHlch(81.71, 50.94, 97.01°)
OKLaboklab(84.02% -0.0191 0.1193)
OKLCHoklch(84.02% 0.121 99.1)
XYZxyz(54.3204, 59.7580, 22.3060)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC6A #6A7CDE
analogous
#DE926A #DECC6A #B6DE6A
triadic
#DECC6A #6ADECC #CC6ADE
tetradic
#DECC6A #6ADE92 #6A7CDE #DE6AB6
square
#DECC6A #6ADE92 #6A7CDE #DE6AB6
split-complementary
#DECC6A #6AB6DE #926ADE
monochromatic
#A89425 #D3BB38 #DECC6A #E9DD9C #F4EECE

Accessibility & contrast

On white

1.62
#DECC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#DECC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC6A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC6A#FFFFFF#000000##000000
##DECC6A1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC761
Deuteranopia (green-blind)
#E1CE6E
Tritanopia (blue-blind)
#EDC0B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc6a;
/* rgb */ color: rgb(222, 204, 106);
/* oklch */ color: oklch(84.0% 0.121 99.1);
Tailwind
colors: {
  custom: {
    50: '#eadb97',
    500: '#decc6a',
    950: '#000000',
  },
}
SCSS
$custom: #decc6a;
$custom-light: #eadb97;
$custom-dark: #000000;
JSON
{
  "hex": "#decc6a",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 106
  },
  "hsl": {
    "h": 50.69,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84017,
    "c": 0.12081,
    "h": 99.1
  },
  "luminance": 0.59756
}

Semantic roles & 50–950 ramp

primary
#DECC6A
secondary
#4152AB
accent
#36CC1A
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DECC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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