#DECD5B#DECD5B

#DECD5B is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.135 H 100.9°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#DECD5B
RGBrgb(222, 205, 91)
HSLhsl(52, 66%, 61%)
HSVhsv(52, 59%, 87%)
CMYKcmyk(0%, 7.7%, 59%, 12.9%)
CIE-LABlab(81.81, -7.88, 57.61)
CIE-LCHlch(81.81, 58.14, 97.79°)
OKLaboklab(84.05% -0.0256 0.1329)
OKLCHoklch(84.05% 0.135 100.9)
XYZxyz(53.8459, 59.9497, 18.6306)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD5B #5B6CDE
analogous
#DE8C5B #DECD5B #AEDE5B
triadic
#DECD5B #5BDECD #CD5BDE
tetradic
#DECD5B #5BDE8C #5B6CDE #DE5BAE
square
#DECD5B #5BDE8C #5B6CDE #DE5BAE
split-complementary
#DECD5B #5BAEDE #8C5BDE
monochromatic
#9F8E20 #D2BC2A #DECD5B #E8DD8E #F3ECC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECD5B#FFFFFF#000000##000000
##DECD5B1.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)
#DEC74F
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#EEC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd5b;
/* rgb */ color: rgb(222, 205, 91);
/* oklch */ color: oklch(84.0% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#ebdc8d',
    500: '#decd5b',
    950: '#000000',
  },
}
SCSS
$custom: #decd5b;
$custom-light: #ebdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#decd5b",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 52.214,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8405,
    "c": 0.13529,
    "h": 100.9
  },
  "luminance": 0.59948
}

Semantic roles & 50–950 ramp

primary
#DECD5B
secondary
#3B48A2
accent
#2FCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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