#DECB54#DECB54

#DECB54 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.6% C 0.139 H 100.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DECB54
RGBrgb(222, 203, 84)
HSLhsl(52, 68%, 60%)
HSVhsv(52, 62%, 87%)
CMYKcmyk(0%, 8.6%, 62.2%, 12.9%)
CIE-LABlab(81.23, -7.33, 60.03)
CIE-LCHlch(81.23, 60.48, 96.96°)
OKLaboklab(83.57% -0.0248 0.1371)
OKLCHoklch(83.57% 0.139 100.3)
XYZxyz(53.0825, 58.8838, 16.9554)
Luminance0.5888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB54 #5467DE
analogous
#DE8654 #DECB54 #ACDE54
triadic
#DECB54 #54DECB #CB54DE
tetradic
#DECB54 #54DE86 #5467DE #DE54AC
square
#DECB54 #54DE86 #5467DE #DE54AC
split-complementary
#DECB54 #54ACDE #8654DE
monochromatic
#9A891E #CDB628 #DECB54 #E8DB87 #F2EABB

Accessibility & contrast

On white

1.64
#DECB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#DECB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB54
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB54#FFFFFF#000000##000000
##DECB541.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#EEBDB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb54;
/* rgb */ color: rgb(222, 203, 84);
/* oklch */ color: oklch(83.6% 0.139 100.3);
Tailwind
colors: {
  custom: {
    50: '#ebda89',
    500: '#decb54',
    950: '#000000',
  },
}
SCSS
$custom: #decb54;
$custom-light: #ebda89;
$custom-dark: #000000;
JSON
{
  "hex": "#decb54",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 51.739,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.83567,
    "c": 0.13931,
    "h": 100.3
  },
  "luminance": 0.58882
}

Semantic roles & 50–950 ramp

primary
#DECB54
secondary
#38469E
accent
#55EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB54

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

Preview Lab → · Contrast checker → · Palette generator →

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