#DECA5C#DECA5C

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

Color values

HEX#DECA5C
RGBrgb(222, 202, 92)
HSLhsl(51, 66%, 62%)
HSVhsv(51, 59%, 87%)
CMYKcmyk(0%, 9%, 58.6%, 12.9%)
CIE-LABlab(81.04, -6.28, 56.30)
CIE-LCHlch(81.04, 56.64, 96.36°)
OKLaboklab(83.44% -0.0209 0.1302)
OKLCHoklch(83.44% 0.132 99.1)
XYZxyz(53.1785, 58.5456, 18.6224)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA5C #5C70DE
analogous
#DE895C #DECA5C #B1DE5C
triadic
#DECA5C #5CDECA #CA5CDE
tetradic
#DECA5C #5CDE89 #5C70DE #DE5CB1
square
#DECA5C #5CDE89 #5C70DE #DE5CB1
split-complementary
#DECA5C #5CB1DE #895CDE
monochromatic
#9F8C20 #D2B82B #DECA5C #E8DB8F #F3EBC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECA5C#FFFFFF#000000##000000
##DECA5C1.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)
#DBC551
Deuteranopia (green-blind)
#E1CC61
Tritanopia (blue-blind)
#EEBDB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #deca5c;
/* rgb */ color: rgb(222, 202, 92);
/* oklch */ color: oklch(83.4% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#ebd98e',
    500: '#deca5c',
    950: '#000000',
  },
}
SCSS
$custom: #deca5c;
$custom-light: #ebd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#deca5c",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 50.769,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83443,
    "c": 0.13183,
    "h": 99.1
  },
  "luminance": 0.58543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DECA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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