#DEC059#DEC059

#DEC059 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.127 H 93.2°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DEC059
RGBrgb(222, 192, 89)
HSLhsl(46, 67%, 61%)
HSVhsv(46, 60%, 87%)
CMYKcmyk(0%, 13.5%, 59.9%, 12.9%)
CIE-LABlab(78.43, -1.33, 54.73)
CIE-LCHlch(78.43, 54.74, 91.39°)
OKLaboklab(81.37% -0.007 0.1264)
OKLCHoklch(81.37% 0.127 93.2)
XYZxyz(50.7792, 53.9527, 17.1885)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC059 #5977DE
analogous
#DE7D59 #DEC059 #B9DE59
triadic
#DEC059 #59DEC0 #C059DE
tetradic
#DEC059 #59DE7D #5977DE #DE59B9
square
#DEC059 #59DE7D #5977DE #DE59B9
split-complementary
#DEC059 #59B9DE #7D59DE
monochromatic
#9D811F #D0AB29 #DEC059 #E8D38C #F2E7BF

Accessibility & contrast

On white

1.78
#DEC059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#DEC059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC059
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC059#FFFFFF#000000##000000
##DEC0591.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4E
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#EEB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec059;
/* rgb */ color: rgb(222, 192, 89);
/* oklch */ color: oklch(81.4% 0.127 93.2);
Tailwind
colors: {
  custom: {
    50: '#ebd28b',
    500: '#dec059',
    950: '#000000',
  },
}
SCSS
$custom: #dec059;
$custom-light: #ebd28b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec059",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 46.466,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81371,
    "c": 0.12663,
    "h": 93.2
  },
  "luminance": 0.5395
}

Semantic roles & 50–950 ramp

primary
#DEC059
secondary
#3A51A1
accent
#40CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC059

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

Preview Lab → · Contrast checker → · Palette generator →

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