#DECA5B#DECA5B

#DECA5B is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.4% C 0.133 H 99.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DECA5B
RGBrgb(222, 202, 91)
HSLhsl(51, 66%, 61%)
HSVhsv(51, 59%, 87%)
CMYKcmyk(0%, 9%, 59%, 12.9%)
CIE-LABlab(81.03, -6.35, 56.74)
CIE-LCHlch(81.03, 57.09, 96.38°)
OKLaboklab(83.43% -0.0212 0.131)
OKLCHoklch(83.43% 0.133 99.2)
XYZxyz(53.1351, 58.5282, 18.3937)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA5B #5B6FDE
analogous
#DE895B #DECA5B #B1DE5B
triadic
#DECA5B #5BDECA #CA5BDE
tetradic
#DECA5B #5BDE89 #5B6FDE #DE5BB1
square
#DECA5B #5BDE89 #5B6FDE #DE5BB1
split-complementary
#DECA5B #5BB1DE #895BDE
monochromatic
#9F8B20 #D2B82A #DECA5B #E8DA8E #F3EBC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECA5B#FFFFFF#000000##000000
##DECA5B1.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)
#DBC54F
Deuteranopia (green-blind)
#E1CC60
Tritanopia (blue-blind)
#EEBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #deca5b;
/* rgb */ color: rgb(222, 202, 91);
/* oklch */ color: oklch(83.4% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#ebd98d',
    500: '#deca5b',
    950: '#000000',
  },
}
SCSS
$custom: #deca5b;
$custom-light: #ebd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#deca5b",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 50.84,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83432,
    "c": 0.13269,
    "h": 99.2
  },
  "luminance": 0.58526
}

Semantic roles & 50–950 ramp

primary
#DECA5B
secondary
#3B4BA2
accent
#33CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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