#DECD51#DECD51

#DECD51 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.0% C 0.143 H 101.5°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#DECD51
RGBrgb(222, 205, 81)
HSLhsl(53, 68%, 59%)
HSVhsv(53, 64%, 87%)
CMYKcmyk(0%, 7.7%, 63.5%, 12.9%)
CIE-LABlab(81.72, -8.53, 61.84)
CIE-LCHlch(81.72, 62.43, 97.86°)
OKLaboklab(83.95% -0.0286 0.1405)
OKLCHoklch(83.95% 0.143 101.5)
XYZxyz(53.4429, 59.7885, 16.5082)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD51 #5162DE
analogous
#DE8751 #DECD51 #A9DE51
triadic
#DECD51 #51DECD #CD51DE
tetradic
#DECD51 #51DE87 #5162DE #DE51A9
square
#DECD51 #51DE87 #5162DE #DE51A9
split-complementary
#DECD51 #51A9DE #8751DE
monochromatic
#98891D #CBB727 #DECD51 #E8DC84 #F2EBB8

Accessibility & contrast

On white

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

On black

12.96
#DECD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD51
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD51#FFFFFF#000000##000000
##DECD511.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#EEBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd51;
/* rgb */ color: rgb(222, 205, 81);
/* oklch */ color: oklch(84.0% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#ebdb87',
    500: '#decd51',
    950: '#000000',
  },
}
SCSS
$custom: #decd51;
$custom-light: #ebdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#decd51",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 52.766,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83952,
    "c": 0.14337,
    "h": 101.5
  },
  "luminance": 0.59786
}

Semantic roles & 50–950 ramp

primary
#DECD51
secondary
#37439C
accent
#52EB3D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD51

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

Preview Lab → · Contrast checker → · Palette generator →

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