#DEC849#DEC849

#DEC849 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.145 H 99.3°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DEC849
RGBrgb(222, 200, 73)
HSLhsl(51, 69%, 58%)
HSVhsv(51, 67%, 87%)
CMYKcmyk(0%, 9.9%, 67.1%, 12.9%)
CIE-LABlab(80.36, -6.45, 63.71)
CIE-LCHlch(80.36, 64.03, 95.78°)
OKLaboklab(82.85% -0.0235 0.1432)
OKLCHoklch(82.85% 0.145 99.3)
XYZxyz(51.9834, 57.3216, 14.6281)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC849 #495FDE
analogous
#DE7D49 #DEC849 #A9DE49
triadic
#DEC849 #49DEC8 #C849DE
tetradic
#DEC849 #49DE7D #495FDE #DE49A9
square
#DEC849 #49DE7D #495FDE #DE49A9
split-complementary
#DEC849 #49A9DE #7D49DE
monochromatic
#92801A #C6AE24 #DEC849 #E7D87D #F1E7B1

Accessibility & contrast

On white

1.68
#DEC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#DEC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC849
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC849#FFFFFF#000000##000000
##DEC8491.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC338
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#EFBAAE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec849;
/* rgb */ color: rgb(222, 200, 73);
/* oklch */ color: oklch(82.9% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#ecd882',
    500: '#dec849',
    950: '#000000',
  },
}
SCSS
$custom: #dec849;
$custom-light: #ecd882;
$custom-dark: #000000;
JSON
{
  "hex": "#dec849",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 51.141,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82851,
    "c": 0.14511,
    "h": 99.3
  },
  "luminance": 0.57319
}

Semantic roles & 50–950 ramp

primary
#DEC849
secondary
#344397
accent
#56EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC849

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

Preview Lab → · Contrast checker → · Palette generator →

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