#DEC372#DEC372

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

Color values

HEX#DEC372
RGBrgb(222, 195, 114)
HSLhsl(45, 62%, 66%)
HSVhsv(45, 49%, 87%)
CMYKcmyk(0%, 12.2%, 48.6%, 12.9%)
CIE-LABlab(79.49, -0.87, 43.97)
CIE-LCHlch(79.49, 43.98, 91.14°)
OKLaboklab(82.29% -0.0028 0.1055)
OKLCHoklch(82.29% 0.105 91.5)
XYZxyz(52.6783, 55.7770, 23.9076)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC372 #728DDE
analogous
#DE8D72 #DEC372 #C3DE72
triadic
#DEC372 #72DEC3 #C372DE
tetradic
#DEC372 #72DE8D #728DDE #DE72C3
square
#DEC372 #72DE8D #728DDE #DE72C3
split-complementary
#DEC372 #72C3DE #8D72DE
monochromatic
#AD8C29 #D2AE40 #DEC372 #EAD8A4 #F5EDD5

Accessibility & contrast

On white

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

On black

12.16
#DEC372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC372
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC372#FFFFFF#000000##000000
##DEC3721.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06B
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#EDB7B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec372;
/* rgb */ color: rgb(222, 195, 114);
/* oklch */ color: oklch(82.3% 0.105 91.5);
Tailwind
colors: {
  custom: {
    50: '#ead59c',
    500: '#dec372',
    950: '#000000',
  },
}
SCSS
$custom: #dec372;
$custom-light: #ead59c;
$custom-dark: #000000;
JSON
{
  "hex": "#dec372",
  "rgb": {
    "r": 222,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 45,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82294,
    "c": 0.10549,
    "h": 91.5
  },
  "luminance": 0.55775
}

Semantic roles & 50–950 ramp

primary
#DEC372
secondary
#4560AF
accent
#47CA1C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC372

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

Preview Lab → · Contrast checker → · Palette generator →

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