#DECB57#DECB57

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

Color values

HEX#DECB57
RGBrgb(222, 203, 87)
HSLhsl(52, 67%, 61%)
HSVhsv(52, 61%, 87%)
CMYKcmyk(0%, 8.6%, 60.8%, 12.9%)
CIE-LABlab(81.25, -7.13, 58.76)
CIE-LCHlch(81.25, 59.19, 96.92°)
OKLaboklab(83.6% -0.0239 0.1348)
OKLCHoklch(83.6% 0.137 100.1)
XYZxyz(53.2025, 58.9318, 17.5875)
Luminance0.5893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECB57 #576ADE
analogous
#DE8857 #DECB57 #ADDE57
triadic
#DECB57 #57DECB #CB57DE
tetradic
#DECB57 #57DE88 #576ADE #DE57AD
square
#DECB57 #57DE88 #576ADE #DE57AD
split-complementary
#DECB57 #57ADDE #8857DE
monochromatic
#9C8A1F #CFB829 #DECB57 #E8DB8A #F2EBBD

Accessibility & contrast

On white

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

On black

12.79
#DECB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECB57
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECB57#FFFFFF#000000##000000
##DECB571.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#EEBEB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #decb57;
/* rgb */ color: rgb(222, 203, 87);
/* oklch */ color: oklch(83.6% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#ebda8b',
    500: '#decb57',
    950: '#000000',
  },
}
SCSS
$custom: #decb57;
$custom-light: #ebda8b;
$custom-dark: #000000;
JSON
{
  "hex": "#decb57",
  "rgb": {
    "r": 222,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 51.556,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83596,
    "c": 0.13689,
    "h": 100.1
  },
  "luminance": 0.5893
}

Semantic roles & 50–950 ramp

primary
#DECB57
secondary
#3A48A0
accent
#30CF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DECB57

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

Preview Lab → · Contrast checker → · Palette generator →

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