#DECB51#DECB51

#DECB51 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.5% C 0.142 H 100.4°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#DECB51
RGBrgb(222, 203, 81)
HSLhsl(52, 68%, 59%)
HSVhsv(52, 64%, 87%)
CMYKcmyk(0%, 8.6%, 63.5%, 12.9%)
CIE-LABlab(81.20, -7.52, 61.29)
CIE-LCHlch(81.20, 61.75, 96.99°)
OKLaboklab(83.54% -0.0257 0.1393)
OKLCHoklch(83.54% 0.142 100.4)
XYZxyz(52.9675, 58.8378, 16.3498)
Luminance0.5884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB51 #5164DE
analogous
#DE8551 #DECB51 #ABDE51
triadic
#DECB51 #51DECB #CB51DE
tetradic
#DECB51 #51DE85 #5164DE #DE51AB
square
#DECB51 #51DE85 #5164DE #DE51AB
split-complementary
#DECB51 #51ABDE #8551DE
monochromatic
#98871D #CBB527 #DECB51 #E8DA84 #F2EAB8

Accessibility & contrast

On white

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

On black

12.77
#DECB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB51
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB51#FFFFFF#000000##000000
##DECB511.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#EEBDB1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb51;
/* rgb */ color: rgb(222, 203, 81);
/* oklch */ color: oklch(83.5% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#ecda87',
    500: '#decb51',
    950: '#000000',
  },
}
SCSS
$custom: #decb51;
$custom-light: #ecda87;
$custom-dark: #000000;
JSON
{
  "hex": "#decb51",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 51.915,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83539,
    "c": 0.14166,
    "h": 100.4
  },
  "luminance": 0.58836
}

Semantic roles & 50–950 ramp

primary
#DECB51
secondary
#37459C
accent
#54EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB51

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

Preview Lab → · Contrast checker → · Palette generator →

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