#DECA5D#DECA5D

#DECA5D is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.131 H 99.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DECA5D
RGBrgb(222, 202, 93)
HSLhsl(51, 66%, 62%)
HSVhsv(51, 58%, 87%)
CMYKcmyk(0%, 9%, 58.1%, 12.9%)
CIE-LABlab(81.05, -6.20, 55.85)
CIE-LCHlch(81.05, 56.20, 96.34°)
OKLaboklab(83.45% -0.0205 0.1294)
OKLCHoklch(83.45% 0.131 99)
XYZxyz(53.2225, 58.5632, 18.8542)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA5D #5D71DE
analogous
#DE8A5D #DECA5D #B1DE5D
triadic
#DECA5D #5DDECA #CA5DDE
tetradic
#DECA5D #5DDE8A #5D71DE #DE5DB1
square
#DECA5D #5DDE8A #5D71DE #DE5DB1
split-complementary
#DECA5D #5DB1DE #8A5DDE
monochromatic
#A08C21 #D3B92B #DECA5D #E8DB90 #F3EBC3

Accessibility & contrast

On white

1.65
#DECA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DECA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA5D
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA5D#FFFFFF#000000##000000
##DECA5D1.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC552
Deuteranopia (green-blind)
#E1CC62
Tritanopia (blue-blind)
#EEBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #deca5d;
/* rgb */ color: rgb(222, 202, 93);
/* oklch */ color: oklch(83.5% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#ebd98e',
    500: '#deca5d',
    950: '#000000',
  },
}
SCSS
$custom: #deca5d;
$custom-light: #ebd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#deca5d",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 50.698,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83454,
    "c": 0.13097,
    "h": 99
  },
  "luminance": 0.58561
}

Semantic roles & 50–950 ramp

primary
#DECA5D
secondary
#3C4CA3
accent
#34CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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