#DECC7E#DECC7E

#DECC7E is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.100 H 96.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#DECC7E
RGBrgb(222, 204, 126)
HSLhsl(49, 59%, 68%)
HSVhsv(49, 43%, 87%)
CMYKcmyk(0%, 8.1%, 43.2%, 12.9%)
CIE-LABlab(81.96, -4.36, 41.06)
CIE-LCHlch(81.96, 41.29, 96.07°)
OKLaboklab(84.3% -0.0118 0.0997)
OKLCHoklch(84.3% 0.1 96.7)
XYZxyz(55.4843, 60.2236, 28.4363)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC7E #7E90DE
analogous
#DE9C7E #DECC7E #C0DE7E
triadic
#DECC7E #7EDECC #CC7EDE
tetradic
#DECC7E #7EDE9C #7E90DE #DE7EC0
square
#DECC7E #7EDE9C #7E90DE #DE7EC0
split-complementary
#DECC7E #7EC0DE #9C7EDE
monochromatic
#B49B2E #D2B94D #DECC7E #EADFAF #F7F3DF

Accessibility & contrast

On white

1.61
#DECC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#DECC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC7E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC7E#FFFFFF#000000##000000
##DECC7E1.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC878
Deuteranopia (green-blind)
#DFCE81
Tritanopia (blue-blind)
#EBC1B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decc7e;
/* rgb */ color: rgb(222, 204, 126);
/* oklch */ color: oklch(84.3% 0.100 96.7);
Tailwind
colors: {
  custom: {
    50: '#eadba4',
    500: '#decc7e',
    950: '#000000',
  },
}
SCSS
$custom: #decc7e;
$custom-light: #eadba4;
$custom-dark: #000000;
JSON
{
  "hex": "#decc7e",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 48.75,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.843,
    "c": 0.10035,
    "h": 96.7
  },
  "luminance": 0.60222
}

Semantic roles & 50–950 ramp

primary
#DECC7E
secondary
#4B5FB5
accent
#3EC71F
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DECC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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