#DECB56#DECB56

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

Color values

HEX#DECB56
RGBrgb(222, 203, 86)
HSLhsl(52, 67%, 60%)
HSVhsv(52, 61%, 87%)
CMYKcmyk(0%, 8.6%, 61.3%, 12.9%)
CIE-LABlab(81.25, -7.20, 59.19)
CIE-LCHlch(81.25, 59.62, 96.93°)
OKLaboklab(83.59% -0.0242 0.1356)
OKLCHoklch(83.59% 0.138 100.1)
XYZxyz(53.1620, 58.9156, 17.3739)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB56 #5669DE
analogous
#DE8756 #DECB56 #ADDE56
triadic
#DECB56 #56DECB #CB56DE
tetradic
#DECB56 #56DE87 #5669DE #DE56AD
square
#DECB56 #56DE87 #5669DE #DE56AD
split-complementary
#DECB56 #56ADDE #8756DE
monochromatic
#9B8A1E #CEB728 #DECB56 #E8DB89 #F2EBBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECB56#FFFFFF#000000##000000
##DECB561.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)
#DDC649
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#EEBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb56;
/* rgb */ color: rgb(222, 203, 86);
/* oklch */ color: oklch(83.6% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#ebda8a',
    500: '#decb56',
    950: '#000000',
  },
}
SCSS
$custom: #decb56;
$custom-light: #ebda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#decb56",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 51.618,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83587,
    "c": 0.1377,
    "h": 100.1
  },
  "luminance": 0.58913
}

Semantic roles & 50–950 ramp

primary
#DECB56
secondary
#39479F
accent
#30CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB56

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

Preview Lab → · Contrast checker → · Palette generator →

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