#DEC139#DEC139

#DEC139 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.3% C 0.150 H 96.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DEC139
RGBrgb(222, 193, 57)
HSLhsl(49, 71%, 55%)
HSVhsv(49, 74%, 87%)
CMYKcmyk(0%, 13.1%, 74.3%, 12.9%)
CIE-LABlab(78.44, -3.63, 67.87)
CIE-LCHlch(78.44, 67.96, 93.06°)
OKLaboklab(81.3% -0.0172 0.1492)
OKLCHoklch(81.3% 0.15 96.6)
XYZxyz(49.9353, 53.9676, 11.6567)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC139 #3956DE
analogous
#DE6F39 #DEC139 #A8DE39
triadic
#DEC139 #39DEC1 #C139DE
tetradic
#DEC139 #39DE6F #3956DE #DE39A8
square
#DEC139 #39DE6F #3956DE #DE39A8
split-complementary
#DEC139 #39A8DE #6F39DE
monochromatic
#867316 #BB9F1F #DEC139 #E7D16D #EFE2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC139#FFFFFF#000000##000000
##DEC1391.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)
#D5BD20
Deuteranopia (green-blind)
#DCC642
Tritanopia (blue-blind)
#F0B2A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec139;
/* rgb */ color: rgb(222, 193, 57);
/* oklch */ color: oklch(81.3% 0.150 96.6);
Tailwind
colors: {
  custom: {
    50: '#edd379',
    500: '#dec139',
    950: '#000000',
  },
}
SCSS
$custom: #dec139;
$custom-light: #edd379;
$custom-dark: #000000;
JSON
{
  "hex": "#dec139",
  "rgb": {
    "r": 222,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 49.455,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81298,
    "c": 0.15014,
    "h": 96.6
  },
  "luminance": 0.53965
}

Semantic roles & 50–950 ramp

primary
#DEC139
secondary
#2F3F8C
accent
#59EE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC139

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

Preview Lab → · Contrast checker → · Palette generator →

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