#DEC45C#DEC45C

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

Color values

HEX#DEC45C
RGBrgb(222, 196, 92)
HSLhsl(48, 66%, 62%)
HSVhsv(48, 59%, 87%)
CMYKcmyk(0%, 11.7%, 58.6%, 12.9%)
CIE-LABlab(79.49, -3.19, 54.55)
CIE-LCHlch(79.49, 54.64, 93.35°)
OKLaboklab(82.22% -0.012 0.1264)
OKLCHoklch(82.22% 0.127 95.4)
XYZxyz(51.7980, 55.7846, 18.1622)
Luminance0.5578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC45C #5C76DE
analogous
#DE835C #DEC45C #B7DE5C
triadic
#DEC45C #5CDEC4 #C45CDE
tetradic
#DEC45C #5CDE83 #5C76DE #DE5CB7
square
#DEC45C #5CDE83 #5C76DE #DE5CB7
split-complementary
#DEC45C #5CB7DE #835CDE
monochromatic
#9F8620 #D2B12B #DEC45C #E8D68F #F3E9C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC45C#FFFFFF#000000##000000
##DEC45C1.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)
#D6C051
Deuteranopia (green-blind)
#DCC961
Tritanopia (blue-blind)
#EEB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec45c;
/* rgb */ color: rgb(222, 196, 92);
/* oklch */ color: oklch(82.2% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#ebd58d',
    500: '#dec45c',
    950: '#000000',
  },
}
SCSS
$custom: #dec45c;
$custom-light: #ebd58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec45c",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 92
  },
  "hsl": {
    "h": 48,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82215,
    "c": 0.12699,
    "h": 95.4
  },
  "luminance": 0.55782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC45C

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

Preview Lab → · Contrast checker → · Palette generator →

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