#DECB5D#DECB5D

#DECB5D is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.132 H 99.6°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#DECB5D
RGBrgb(222, 203, 93)
HSLhsl(51, 66%, 62%)
HSVhsv(51, 58%, 87%)
CMYKcmyk(0%, 8.6%, 58.1%, 12.9%)
CIE-LABlab(81.31, -6.72, 56.15)
CIE-LCHlch(81.31, 56.55, 96.82°)
OKLaboklab(83.66% -0.022 0.13)
OKLCHoklch(83.66% 0.132 99.6)
XYZxyz(53.4579, 59.0340, 18.9326)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB5D #5D70DE
analogous
#DE8B5D #DECB5D #B1DE5D
triadic
#DECB5D #5DDECB #CB5DDE
tetradic
#DECB5D #5DDE8B #5D70DE #DE5DB1
square
#DECB5D #5DDE8B #5D70DE #DE5DB1
split-complementary
#DECB5D #5DB1DE #8B5DDE
monochromatic
#A08D21 #D3BA2B #DECB5D #E8DB90 #F3ECC3

Accessibility & contrast

On white

1.64
#DECB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#DECB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB5D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB5D#FFFFFF#000000##000000
##DECB5D1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC652
Deuteranopia (green-blind)
#E2CD62
Tritanopia (blue-blind)
#EEBEB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb5d;
/* rgb */ color: rgb(222, 203, 93);
/* oklch */ color: oklch(83.7% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#ebda8f',
    500: '#decb5d',
    950: '#000000',
  },
}
SCSS
$custom: #decb5d;
$custom-light: #ebda8f;
$custom-dark: #000000;
JSON
{
  "hex": "#decb5d",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 93
  },
  "hsl": {
    "h": 51.163,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83659,
    "c": 0.13183,
    "h": 99.6
  },
  "luminance": 0.59032
}

Semantic roles & 50–950 ramp

primary
#DECB5D
secondary
#3C4BA3
accent
#32CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DECB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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