#DEC841#DEC841

#DEC841 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.8% C 0.150 H 99.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#DEC841
RGBrgb(222, 200, 65)
HSLhsl(52, 70%, 56%)
HSVhsv(52, 71%, 87%)
CMYKcmyk(0%, 9.9%, 70.7%, 12.9%)
CIE-LABlab(80.30, -6.86, 66.76)
CIE-LCHlch(80.30, 67.11, 95.87°)
OKLaboklab(82.79% -0.0255 0.1483)
OKLCHoklch(82.79% 0.15 99.8)
XYZxyz(51.7350, 57.2222, 13.3199)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC841 #4157DE
analogous
#DE7A41 #DEC841 #A6DE41
triadic
#DEC841 #41DEC8 #C841DE
tetradic
#DEC841 #41DE7A #4157DE #DE41A6
square
#DEC841 #41DE7A #4157DE #DE41A6
split-complementary
#DEC841 #41A6DE #7A41DE
monochromatic
#8C7C18 #C0AA21 #DEC841 #E7D775 #F0E6A9

Accessibility & contrast

On white

1.69
#DEC841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#DEC841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC841
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC841#FFFFFF#000000##000000
##DEC8411.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#E1CB49
Tritanopia (blue-blind)
#EFBAAD
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec841;
/* rgb */ color: rgb(222, 200, 65);
/* oklch */ color: oklch(82.8% 0.150 99.8);
Tailwind
colors: {
  custom: {
    50: '#ecd87e',
    500: '#dec841',
    950: '#000000',
  },
}
SCSS
$custom: #dec841;
$custom-light: #ecd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec841",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 51.592,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82789,
    "c": 0.15047,
    "h": 99.8
  },
  "luminance": 0.5722
}

Semantic roles & 50–950 ramp

primary
#DEC841
secondary
#323F92
accent
#54ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DEC841

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

Preview Lab → · Contrast checker → · Palette generator →

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