#DEC371#DEC371

#DEC371 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.3% C 0.106 H 91.7°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#DEC371
RGBrgb(222, 195, 113)
HSLhsl(45, 62%, 66%)
HSVhsv(45, 49%, 87%)
CMYKcmyk(0%, 12.2%, 49.1%, 12.9%)
CIE-LABlab(79.47, -0.96, 44.46)
CIE-LCHlch(79.47, 44.47, 91.24°)
OKLaboklab(82.28% -0.0032 0.1064)
OKLCHoklch(82.28% 0.106 91.7)
XYZxyz(52.6217, 55.7544, 23.6094)
Luminance0.5575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC371 #718CDE
analogous
#DE8C71 #DEC371 #C2DE71
triadic
#DEC371 #71DEC3 #C371DE
tetradic
#DEC371 #71DE8C #718CDE #DE71C2
square
#DEC371 #71DE8C #718CDE #DE71C2
split-complementary
#DEC371 #71C2DE #8C71DE
monochromatic
#AD8C28 #D2AE3F #DEC371 #EAD8A3 #F5EDD4

Accessibility & contrast

On white

1.73
#DEC371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#DEC371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC371
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC371#FFFFFF#000000##000000
##DEC3711.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#DAC874
Tritanopia (blue-blind)
#EDB7AF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec371;
/* rgb */ color: rgb(222, 195, 113);
/* oklch */ color: oklch(82.3% 0.106 91.7);
Tailwind
colors: {
  custom: {
    50: '#ead59b',
    500: '#dec371',
    950: '#000000',
  },
}
SCSS
$custom: #dec371;
$custom-light: #ead59b;
$custom-dark: #000000;
JSON
{
  "hex": "#dec371",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 113
  },
  "hsl": {
    "h": 45.138,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82279,
    "c": 0.10649,
    "h": 91.7
  },
  "luminance": 0.55752
}

Semantic roles & 50–950 ramp

primary
#DEC371
secondary
#455FAF
accent
#47CA1B
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC371

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

Preview Lab → · Contrast checker → · Palette generator →

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