#DECD5D#DECD5D

#DECD5D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.1% C 0.134 H 100.8°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#DECD5D
RGBrgb(222, 205, 93)
HSLhsl(52, 66%, 62%)
HSVhsv(52, 58%, 87%)
CMYKcmyk(0%, 7.7%, 58.1%, 12.9%)
CIE-LABlab(81.83, -7.74, 56.73)
CIE-LCHlch(81.83, 57.26, 97.76°)
OKLaboklab(84.07% -0.0249 0.1312)
OKLCHoklch(84.07% 0.134 100.8)
XYZxyz(53.9333, 59.9847, 19.0911)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD5D #5D6EDE
analogous
#DE8D5D #DECD5D #AFDE5D
triadic
#DECD5D #5DDECD #CD5DDE
tetradic
#DECD5D #5DDE8D #5D6EDE #DE5DAF
square
#DECD5D #5DDE8D #5D6EDE #DE5DAF
split-complementary
#DECD5D #5DAFDE #8D5DDE
monochromatic
#A08F21 #D3BD2B #DECD5D #E8DD90 #F3ECC3

Accessibility & contrast

On white

1.62
#DECD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#DECD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD5D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD5D#FFFFFF#000000##000000
##DECD5D1.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC851
Deuteranopia (green-blind)
#E3CE63
Tritanopia (blue-blind)
#EDC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd5d;
/* rgb */ color: rgb(222, 205, 93);
/* oklch */ color: oklch(84.1% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#ebdc8f',
    500: '#decd5d',
    950: '#000000',
  },
}
SCSS
$custom: #decd5d;
$custom-light: #ebdc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#decd5d",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 52.093,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84071,
    "c": 0.13358,
    "h": 100.8
  },
  "luminance": 0.59983
}

Semantic roles & 50–950 ramp

primary
#DECD5D
secondary
#3C4AA3
accent
#30CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DECD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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