#DEC451#DEC451

#DEC451 is a very light, vivid yellow. Relative luminance 0.556; OKLCH L 82.1% C 0.136 H 96.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#DEC451
RGBrgb(222, 196, 81)
HSLhsl(49, 68%, 59%)
HSVhsv(49, 64%, 87%)
CMYKcmyk(0%, 11.7%, 63.5%, 12.9%)
CIE-LABlab(79.39, -3.93, 59.34)
CIE-LCHlch(79.39, 59.47, 93.79°)
OKLaboklab(82.1% -0.0154 0.1352)
OKLCHoklch(82.1% 0.136 96.5)
XYZxyz(51.3516, 55.6060, 15.8112)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC451 #516BDE
analogous
#DE7E51 #DEC451 #B2DE51
triadic
#DEC451 #51DEC4 #C451DE
tetradic
#DEC451 #51DE7E #516BDE #DE51B2
square
#DEC451 #51DE7E #516BDE #DE51B2
split-complementary
#DEC451 #51B2DE #7E51DE
monochromatic
#98811D #CBAD27 #DEC451 #E8D584 #F2E7B8

Accessibility & contrast

On white

1.73
#DEC451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#DEC451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC451
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC451#FFFFFF#000000##000000
##DEC4511.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#EFB6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec451;
/* rgb */ color: rgb(222, 196, 81);
/* oklch */ color: oklch(82.1% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#ecd587',
    500: '#dec451',
    950: '#000000',
  },
}
SCSS
$custom: #dec451;
$custom-light: #ecd587;
$custom-dark: #000000;
JSON
{
  "hex": "#dec451",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 48.936,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82102,
    "c": 0.13606,
    "h": 96.5
  },
  "luminance": 0.55604
}

Semantic roles & 50–950 ramp

primary
#DEC451
secondary
#374A9C
accent
#5DEB3D
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC451

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

Preview Lab → · Contrast checker → · Palette generator →

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