#DEC039#DEC039

#DEC039 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.149 H 96.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#DEC039
RGBrgb(222, 192, 57)
HSLhsl(49, 71%, 55%)
HSVhsv(49, 74%, 87%)
CMYKcmyk(0%, 13.5%, 74.3%, 12.9%)
CIE-LABlab(78.19, -3.11, 67.62)
CIE-LCHlch(78.19, 67.69, 92.63°)
OKLaboklab(81.09% -0.0157 0.1486)
OKLCHoklch(81.09% 0.149 96)
XYZxyz(49.7150, 53.5270, 11.5832)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC039 #3957DE
analogous
#DE6E39 #DEC039 #AADE39
triadic
#DEC039 #39DEC0 #C039DE
tetradic
#DEC039 #39DE6E #3957DE #DE39AA
square
#DEC039 #39DE6E #3957DE #DE39AA
split-complementary
#DEC039 #39AADE #6E39DE
monochromatic
#867216 #BB9E1F #DEC039 #E7D16D #EFE1A2

Accessibility & contrast

On white

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

On black

11.70
#DEC039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC039
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC039#FFFFFF#000000##000000
##DEC0391.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC21
Deuteranopia (green-blind)
#DCC541
Tritanopia (blue-blind)
#F0B1A6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dec039;
/* rgb */ color: rgb(222, 192, 57);
/* oklch */ color: oklch(81.1% 0.149 96.0);
Tailwind
colors: {
  custom: {
    50: '#edd279',
    500: '#dec039',
    950: '#000000',
  },
}
SCSS
$custom: #dec039;
$custom-light: #edd279;
$custom-dark: #000000;
JSON
{
  "hex": "#dec039",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 49.091,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81094,
    "c": 0.14946,
    "h": 96
  },
  "luminance": 0.53524
}

Semantic roles & 50–950 ramp

primary
#DEC039
secondary
#2F408C
accent
#5AEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC039

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

Preview Lab → · Contrast checker → · Palette generator →

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