#DECC6F#DECC6F

#DECC6F is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.116 H 98.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#DECC6F
RGBrgb(222, 204, 111)
HSLhsl(50, 63%, 65%)
HSVhsv(50, 50%, 87%)
CMYKcmyk(0%, 8.1%, 50%, 12.9%)
CIE-LABlab(81.76, -5.79, 48.23)
CIE-LCHlch(81.76, 48.57, 96.84°)
OKLaboklab(84.08% -0.0173 0.1146)
OKLCHoklch(84.08% 0.116 98.6)
XYZxyz(54.5880, 59.8651, 23.7155)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC6F #6F81DE
analogous
#DE946F #DECC6F #B9DE6F
triadic
#DECC6F #6FDECC #CC6FDE
tetradic
#DECC6F #6FDE94 #6F81DE #DE6FB9
square
#DECC6F #6FDE94 #6F81DE #DE6FB9
split-complementary
#DECC6F #6FB9DE #946FDE
monochromatic
#AB9627 #D3BA3D #DECC6F #E9DEA1 #F5EFD3

Accessibility & contrast

On white

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

On black

12.97
#DECC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC6F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC6F#FFFFFF#000000##000000
##DECC6F1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC767
Deuteranopia (green-blind)
#E1CE73
Tritanopia (blue-blind)
#ECC0B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc6f;
/* rgb */ color: rgb(222, 204, 111);
/* oklch */ color: oklch(84.1% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#eadb9a',
    500: '#decc6f',
    950: '#000000',
  },
}
SCSS
$custom: #decc6f;
$custom-light: #eadb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#decc6f",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 111
  },
  "hsl": {
    "h": 50.27,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.84082,
    "c": 0.11592,
    "h": 98.6
  },
  "luminance": 0.59863
}

Semantic roles & 50–950 ramp

primary
#DECC6F
secondary
#4455AE
accent
#37CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DECC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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