#DECD5C#DECD5C

#DECD5C 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 12.99:1 contrast (WCAG AA passes).

Color values

HEX#DECD5C
RGBrgb(222, 205, 92)
HSLhsl(52, 66%, 62%)
HSVhsv(52, 59%, 87%)
CMYKcmyk(0%, 7.7%, 58.6%, 12.9%)
CIE-LABlab(81.82, -7.81, 57.17)
CIE-LCHlch(81.82, 57.70, 97.78°)
OKLaboklab(84.06% -0.0253 0.132)
OKLCHoklch(84.06% 0.134 100.8)
XYZxyz(53.8893, 59.9671, 18.8593)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD5C #5C6DDE
analogous
#DE8C5C #DECD5C #AEDE5C
triadic
#DECD5C #5CDECD #CD5CDE
tetradic
#DECD5C #5CDE8C #5C6DDE #DE5CAE
square
#DECD5C #5CDE8C #5C6DDE #DE5CAE
split-complementary
#DECD5C #5CAEDE #8C5CDE
monochromatic
#9F8F20 #D2BC2B #DECD5C #E8DD8F #F3ECC2

Accessibility & contrast

On white

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

On black

12.99
#DECD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD5C
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD5C#FFFFFF#000000##000000
##DECD5C1.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC750
Deuteranopia (green-blind)
#E3CE62
Tritanopia (blue-blind)
#EEC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd5c;
/* rgb */ color: rgb(222, 205, 92);
/* oklch */ color: oklch(84.1% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#ebdc8e',
    500: '#decd5c',
    950: '#000000',
  },
}
SCSS
$custom: #decd5c;
$custom-light: #ebdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#decd5c",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 52.154,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8406,
    "c": 0.13443,
    "h": 100.8
  },
  "luminance": 0.59965
}

Semantic roles & 50–950 ramp

primary
#DECD5C
secondary
#3C49A3
accent
#2FCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DECD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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