#DECC7B#DECC7B

#DECC7B is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.3% C 0.104 H 97.2°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#DECC7B
RGBrgb(222, 204, 123)
HSLhsl(49, 60%, 68%)
HSVhsv(49, 45%, 87%)
CMYKcmyk(0%, 8.1%, 44.6%, 12.9%)
CIE-LABlab(81.92, -4.66, 42.51)
CIE-LCHlch(81.92, 42.76, 96.26°)
OKLaboklab(84.25% -0.0129 0.1028)
OKLCHoklch(84.25% 0.104 97.2)
XYZxyz(55.2937, 60.1473, 27.4320)
Luminance0.6015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC7B #7B8DDE
analogous
#DE9A7B #DECC7B #BEDE7B
triadic
#DECC7B #7BDECC #CC7BDE
tetradic
#DECC7B #7BDE9A #7B8DDE #DE7BBE
square
#DECC7B #7BDE9A #7B8DDE #DE7BBE
split-complementary
#DECC7B #7BBEDE #9A7BDE
monochromatic
#B29A2D #D2B94A #DECC7B #EADFAC #F6F2DD

Accessibility & contrast

On white

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

On black

13.03
#DECC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC7B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC7B#FFFFFF#000000##000000
##DECC7B1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC875
Deuteranopia (green-blind)
#E0CE7E
Tritanopia (blue-blind)
#ECC1B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decc7b;
/* rgb */ color: rgb(222, 204, 123);
/* oklch */ color: oklch(84.3% 0.104 97.2);
Tailwind
colors: {
  custom: {
    50: '#eadba2',
    500: '#decc7b',
    950: '#000000',
  },
}
SCSS
$custom: #decc7b;
$custom-light: #eadba2;
$custom-dark: #000000;
JSON
{
  "hex": "#decc7b",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 123
  },
  "hsl": {
    "h": 49.091,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84254,
    "c": 0.10357,
    "h": 97.2
  },
  "luminance": 0.60145
}

Semantic roles & 50–950 ramp

primary
#DECC7B
secondary
#495DB4
accent
#3DC81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DECC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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