#DECD5A#DECD5A

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

Color values

HEX#DECD5A
RGBrgb(222, 205, 90)
HSLhsl(52, 67%, 61%)
HSVhsv(52, 59%, 87%)
CMYKcmyk(0%, 7.7%, 59.5%, 12.9%)
CIE-LABlab(81.80, -7.95, 58.04)
CIE-LCHlch(81.80, 58.58, 97.80°)
OKLaboklab(84.04% -0.0259 0.1337)
OKLCHoklch(84.04% 0.136 101)
XYZxyz(53.8030, 59.9326, 18.4050)
Luminance0.5993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD5A #5A6BDE
analogous
#DE8B5A #DECD5A #ADDE5A
triadic
#DECD5A #5ADECD #CD5ADE
tetradic
#DECD5A #5ADE8B #5A6BDE #DE5AAD
square
#DECD5A #5ADE8B #5A6BDE #DE5AAD
split-complementary
#DECD5A #5AADDE #8B5ADE
monochromatic
#9E8E20 #D1BB2A #DECD5A #E8DC8D #F2ECC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECD5A#FFFFFF#000000##000000
##DECD5A1.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)
#DEC74E
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#EEC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd5a;
/* rgb */ color: rgb(222, 205, 90);
/* oklch */ color: oklch(84.0% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#ebdc8d',
    500: '#decd5a',
    950: '#000000',
  },
}
SCSS
$custom: #decd5a;
$custom-light: #ebdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#decd5a",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 52.273,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8404,
    "c": 0.13613,
    "h": 101
  },
  "luminance": 0.5993
}

Semantic roles & 50–950 ramp

primary
#DECD5A
secondary
#3B48A1
accent
#2FCF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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