#DEC973#DEC973

#DEC973 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.109 H 96.0°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DEC973
RGBrgb(222, 201, 115)
HSLhsl(48, 62%, 66%)
HSVhsv(48, 48%, 87%)
CMYKcmyk(0%, 9.5%, 48.2%, 12.9%)
CIE-LABlab(81.04, -3.89, 45.39)
CIE-LCHlch(81.04, 45.56, 94.89°)
OKLaboklab(83.52% -0.0114 0.1087)
OKLCHoklch(83.52% 0.109 96)
XYZxyz(54.1070, 58.5428, 24.6661)
Luminance0.5854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC973 #7388DE
analogous
#DE9373 #DEC973 #BDDE73
triadic
#DEC973 #73DEC9 #C973DE
tetradic
#DEC973 #73DE93 #7388DE #DE73BD
square
#DEC973 #73DE93 #7388DE #DE73BD
split-complementary
#DEC973 #73BDDE #9373DE
monochromatic
#AE9429 #D2B641 #DEC973 #EADCA5 #F5EFD6

Accessibility & contrast

On white

1.65
#DEC973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DEC973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC973
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC973#FFFFFF#000000##000000
##DEC9731.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56C
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#ECBDB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec973;
/* rgb */ color: rgb(222, 201, 115);
/* oklch */ color: oklch(83.5% 0.109 96.0);
Tailwind
colors: {
  custom: {
    50: '#ead99d',
    500: '#dec973',
    950: '#000000',
  },
}
SCSS
$custom: #dec973;
$custom-light: #ead99d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec973",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 115
  },
  "hsl": {
    "h": 48.224,
    "s": 61.85,
    "l": 66.078
  },
  "oklch": {
    "l": 0.83524,
    "c": 0.10926,
    "h": 96
  },
  "luminance": 0.58541
}

Semantic roles & 50–950 ramp

primary
#DEC973
secondary
#465AB0
accent
#3ECA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC973

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

Preview Lab → · Contrast checker → · Palette generator →

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