#DEC45D#DEC45D

#DEC45D is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.2% C 0.126 H 95.3°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#DEC45D
RGBrgb(222, 196, 93)
HSLhsl(48, 66%, 62%)
HSVhsv(48, 58%, 87%)
CMYKcmyk(0%, 11.7%, 58.1%, 12.9%)
CIE-LABlab(79.50, -3.12, 54.10)
CIE-LCHlch(79.50, 54.19, 93.30°)
OKLaboklab(82.23% -0.0117 0.1256)
OKLCHoklch(82.23% 0.126 95.3)
XYZxyz(51.8420, 55.8022, 18.3940)
Luminance0.5580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC45D #5D77DE
analogous
#DE845D #DEC45D #B8DE5D
triadic
#DEC45D #5DDEC4 #C45DDE
tetradic
#DEC45D #5DDE84 #5D77DE #DE5DB8
square
#DEC45D #5DDE84 #5D77DE #DE5DB8
split-complementary
#DEC45D #5DB8DE #845DDE
monochromatic
#A08621 #D3B12B #DEC45D #E8D790 #F3E9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC45D#FFFFFF#000000##000000
##DEC45D1.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)
#D6C053
Deuteranopia (green-blind)
#DCC962
Tritanopia (blue-blind)
#EEB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec45d;
/* rgb */ color: rgb(222, 196, 93);
/* oklch */ color: oklch(82.2% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#ebd58e',
    500: '#dec45d',
    950: '#000000',
  },
}
SCSS
$custom: #dec45d;
$custom-light: #ebd58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec45d",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 47.907,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82227,
    "c": 0.12612,
    "h": 95.3
  },
  "luminance": 0.558
}

Semantic roles & 50–950 ramp

primary
#DEC45D
secondary
#3C51A3
accent
#3CCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC45D

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

Preview Lab → · Contrast checker → · Palette generator →

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