#DEC971#DEC971

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

Color values

HEX#DEC971
RGBrgb(222, 201, 113)
HSLhsl(48, 62%, 66%)
HSVhsv(48, 49%, 87%)
CMYKcmyk(0%, 9.5%, 49.1%, 12.9%)
CIE-LABlab(81.01, -4.07, 46.34)
CIE-LCHlch(81.01, 46.52, 95.02°)
OKLaboklab(83.5% -0.0122 0.1106)
OKLCHoklch(83.5% 0.111 96.3)
XYZxyz(53.9932, 58.4973, 24.0666)
Luminance0.5849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC971 #7186DE
analogous
#DE9271 #DEC971 #BDDE71
triadic
#DEC971 #71DEC9 #C971DE
tetradic
#DEC971 #71DE92 #7186DE #DE71BD
square
#DEC971 #71DE92 #7186DE #DE71BD
split-complementary
#DEC971 #71BDDE #9271DE
monochromatic
#AD9328 #D2B63F #DEC971 #EADCA3 #F5EFD4

Accessibility & contrast

On white

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

On black

12.70
#DEC971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC971
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC971#FFFFFF#000000##000000
##DEC9711.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56A
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#ECBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec971;
/* rgb */ color: rgb(222, 201, 113);
/* oklch */ color: oklch(83.5% 0.111 96.3);
Tailwind
colors: {
  custom: {
    50: '#ead99b',
    500: '#dec971',
    950: '#000000',
  },
}
SCSS
$custom: #dec971;
$custom-light: #ead99b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec971",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 48.44,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83496,
    "c": 0.11129,
    "h": 96.3
  },
  "luminance": 0.58495
}

Semantic roles & 50–950 ramp

primary
#DEC971
secondary
#4559AF
accent
#3DCA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC971

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

Preview Lab → · Contrast checker → · Palette generator →

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