#DECA7D#DECA7D

#DECA7D is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.9% C 0.100 H 95.3°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#DECA7D
RGBrgb(222, 202, 125)
HSLhsl(48, 60%, 68%)
HSVhsv(48, 44%, 87%)
CMYKcmyk(0%, 9%, 43.7%, 12.9%)
CIE-LABlab(81.43, -3.44, 40.89)
CIE-LCHlch(81.43, 41.03, 94.80°)
OKLaboklab(83.88% -0.0092 0.0992)
OKLCHoklch(83.88% 0.1 95.3)
XYZxyz(54.9478, 59.2533, 27.9407)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA7D #7D91DE
analogous
#DE997D #DECA7D #C1DE7D
triadic
#DECA7D #7DDECA #CA7DDE
tetradic
#DECA7D #7DDE99 #7D91DE #DE7DC1
square
#DECA7D #7DDE99 #7D91DE #DE7DC1
split-complementary
#DECA7D #7DC1DE #997DDE
monochromatic
#B3982D #D2B64C #DECA7D #EADEAE #F7F2DF

Accessibility & contrast

On white

1.63
#DECA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#DECA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA7D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA7D#FFFFFF#000000##000000
##DECA7D1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C777
Deuteranopia (green-blind)
#DECD80
Tritanopia (blue-blind)
#ECBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #deca7d;
/* rgb */ color: rgb(222, 202, 125);
/* oklch */ color: oklch(83.9% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#eadaa4',
    500: '#deca7d',
    950: '#000000',
  },
}
SCSS
$custom: #deca7d;
$custom-light: #eadaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#deca7d",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 47.629,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83877,
    "c": 0.09965,
    "h": 95.3
  },
  "luminance": 0.59251
}

Semantic roles & 50–950 ramp

primary
#DECA7D
secondary
#4B60B5
accent
#41C71E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DECA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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