#DECC5A#DECC5A

#DECC5A is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.8% C 0.135 H 100.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#DECC5A
RGBrgb(222, 204, 90)
HSLhsl(52, 67%, 61%)
HSVhsv(52, 59%, 87%)
CMYKcmyk(0%, 8.1%, 59.5%, 12.9%)
CIE-LABlab(81.54, -7.44, 57.75)
CIE-LCHlch(81.54, 58.23, 97.34°)
OKLaboklab(83.83% -0.0244 0.133)
OKLCHoklch(83.83% 0.135 100.4)
XYZxyz(53.5646, 59.4557, 18.3255)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC5A #5A6CDE
analogous
#DE8A5A #DECC5A #AEDE5A
triadic
#DECC5A #5ADECC #CC5ADE
tetradic
#DECC5A #5ADE8A #5A6CDE #DE5AAE
square
#DECC5A #5ADE8A #5A6CDE #DE5AAE
split-complementary
#DECC5A #5AAEDE #8A5ADE
monochromatic
#9E8D20 #D1BA2A #DECC5A #E8DC8D #F2ECC0

Accessibility & contrast

On white

1.63
#DECC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#DECC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC5A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC5A#FFFFFF#000000##000000
##DECC5A1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74E
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#EEBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decc5a;
/* rgb */ color: rgb(222, 204, 90);
/* oklch */ color: oklch(83.8% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#ebdb8d',
    500: '#decc5a',
    950: '#000000',
  },
}
SCSS
$custom: #decc5a;
$custom-light: #ebdb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#decc5a",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 51.818,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83833,
    "c": 0.13526,
    "h": 100.4
  },
  "luminance": 0.59454
}

Semantic roles & 50–950 ramp

primary
#DECC5A
secondary
#3B49A1
accent
#30CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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