#DEC051#DEC051

#DEC051 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.133 H 94.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#DEC051
RGBrgb(222, 192, 81)
HSLhsl(47, 68%, 59%)
HSVhsv(47, 64%, 87%)
CMYKcmyk(0%, 13.5%, 63.5%, 12.9%)
CIE-LABlab(78.36, -1.86, 58.23)
CIE-LCHlch(78.36, 58.26, 91.83°)
OKLaboklab(81.29% -0.0094 0.1328)
OKLCHoklch(81.29% 0.133 94.1)
XYZxyz(50.4614, 53.8256, 15.5144)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC051 #516FDE
analogous
#DE7A51 #DEC051 #B6DE51
triadic
#DEC051 #51DEC0 #C051DE
tetradic
#DEC051 #51DE7A #516FDE #DE51B6
square
#DEC051 #51DE7A #516FDE #DE51B6
split-complementary
#DEC051 #51B6DE #7A51DE
monochromatic
#987E1D #CBA827 #DEC051 #E8D384 #F2E5B8

Accessibility & contrast

On white

1.79
#DEC051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#DEC051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC051
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC051#FFFFFF#000000##000000
##DEC0511.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#EFB2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec051;
/* rgb */ color: rgb(222, 192, 81);
/* oklch */ color: oklch(81.3% 0.133 94.1);
Tailwind
colors: {
  custom: {
    50: '#ecd286',
    500: '#dec051',
    950: '#000000',
  },
}
SCSS
$custom: #dec051;
$custom-light: #ecd286;
$custom-dark: #000000;
JSON
{
  "hex": "#dec051",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 81
  },
  "hsl": {
    "h": 47.234,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81288,
    "c": 0.13317,
    "h": 94.1
  },
  "luminance": 0.53823
}

Semantic roles & 50–950 ramp

primary
#DEC051
secondary
#374D9C
accent
#62EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC051

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

Preview Lab → · Contrast checker → · Palette generator →

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