#DECB5B#DECB5B

#DECB5B is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.6% C 0.134 H 99.8°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#DECB5B
RGBrgb(222, 203, 91)
HSLhsl(51, 66%, 61%)
HSVhsv(51, 59%, 87%)
CMYKcmyk(0%, 8.6%, 59%, 12.9%)
CIE-LABlab(81.29, -6.86, 57.03)
CIE-LCHlch(81.29, 57.44, 96.86°)
OKLaboklab(83.64% -0.0226 0.1316)
OKLCHoklch(83.64% 0.134 99.8)
XYZxyz(53.3705, 58.9990, 18.4722)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB5B #5B6EDE
analogous
#DE8A5B #DECB5B #B0DE5B
triadic
#DECB5B #5BDECB #CB5BDE
tetradic
#DECB5B #5BDE8A #5B6EDE #DE5BB0
square
#DECB5B #5BDE8A #5B6EDE #DE5BB0
split-complementary
#DECB5B #5BB0DE #8A5BDE
monochromatic
#9F8C20 #D2B92A #DECB5B #E8DB8E #F3EBC1

Accessibility & contrast

On white

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

On black

12.80
#DECB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB5B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB5B#FFFFFF#000000##000000
##DECB5B1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64F
Deuteranopia (green-blind)
#E2CD61
Tritanopia (blue-blind)
#EEBEB3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb5b;
/* rgb */ color: rgb(222, 203, 91);
/* oklch */ color: oklch(83.6% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#ebda8d',
    500: '#decb5b',
    950: '#000000',
  },
}
SCSS
$custom: #decb5b;
$custom-light: #ebda8d;
$custom-dark: #000000;
JSON
{
  "hex": "#decb5b",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 51.298,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83638,
    "c": 0.13354,
    "h": 99.8
  },
  "luminance": 0.58997
}

Semantic roles & 50–950 ramp

primary
#DECB5B
secondary
#3B4AA2
accent
#32CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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