#DECD57#DECD57

#DECD57 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.139 H 101.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#DECD57
RGBrgb(222, 205, 87)
HSLhsl(52, 67%, 61%)
HSVhsv(52, 61%, 87%)
CMYKcmyk(0%, 7.7%, 60.8%, 12.9%)
CIE-LABlab(81.77, -8.15, 59.33)
CIE-LCHlch(81.77, 59.89, 97.82°)
OKLaboklab(84.01% -0.0268 0.136)
OKLCHoklch(84.01% 0.139 101.1)
XYZxyz(53.6779, 59.8825, 17.7460)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD57 #5768DE
analogous
#DE8957 #DECD57 #ACDE57
triadic
#DECD57 #57DECD #CD57DE
tetradic
#DECD57 #57DE89 #5768DE #DE57AC
square
#DECD57 #57DE89 #5768DE #DE57AC
split-complementary
#DECD57 #57ACDE #8957DE
monochromatic
#9C8C1F #CFBA29 #DECD57 #E8DC8A #F2EBBD

Accessibility & contrast

On white

1.62
#DECD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#DECD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD57
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD57#FFFFFF#000000##000000
##DECD571.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC74A
Deuteranopia (green-blind)
#E4CE5D
Tritanopia (blue-blind)
#EEC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd57;
/* rgb */ color: rgb(222, 205, 87);
/* oklch */ color: oklch(84.0% 0.139 101.1);
Tailwind
colors: {
  custom: {
    50: '#ebdc8b',
    500: '#decd57',
    950: '#000000',
  },
}
SCSS
$custom: #decd57;
$custom-light: #ebdc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#decd57",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 52.444,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84009,
    "c": 0.13862,
    "h": 101.1
  },
  "luminance": 0.5988
}

Semantic roles & 50–950 ramp

primary
#DECD57
secondary
#3A46A0
accent
#2ECF16
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD57

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

Preview Lab → · Contrast checker → · Palette generator →

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