#DECD54#DECD54

#DECD54 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.141 H 101.3°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#DECD54
RGBrgb(222, 205, 84)
HSLhsl(53, 68%, 60%)
HSVhsv(53, 62%, 87%)
CMYKcmyk(0%, 7.7%, 62.2%, 12.9%)
CIE-LABlab(81.75, -8.35, 60.60)
CIE-LCHlch(81.75, 61.17, 97.84°)
OKLaboklab(83.98% -0.0277 0.1383)
OKLCHoklch(83.98% 0.141 101.3)
XYZxyz(53.5579, 59.8345, 17.1139)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD54 #5465DE
analogous
#DE8854 #DECD54 #AADE54
triadic
#DECD54 #54DECD #CD54DE
tetradic
#DECD54 #54DE88 #5465DE #DE54AA
square
#DECD54 #54DE88 #5465DE #DE54AA
split-complementary
#DECD54 #54AADE #8854DE
monochromatic
#9A8B1E #CDB928 #DECD54 #E8DC87 #F2EBBB

Accessibility & contrast

On white

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

On black

12.97
#DECD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD54
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD54#FFFFFF#000000##000000
##DECD541.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E4CE5B
Tritanopia (blue-blind)
#EEC0B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd54;
/* rgb */ color: rgb(222, 205, 84);
/* oklch */ color: oklch(84.0% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#ebdc89',
    500: '#decd54',
    950: '#000000',
  },
}
SCSS
$custom: #decd54;
$custom-light: #ebdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#decd54",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 52.609,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.8398,
    "c": 0.14103,
    "h": 101.3
  },
  "luminance": 0.59832
}

Semantic roles & 50–950 ramp

primary
#DECD54
secondary
#38459E
accent
#53EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD54

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

Preview Lab → · Contrast checker → · Palette generator →

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