#DEC45F#DEC45F

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

Color values

HEX#DEC45F
RGBrgb(222, 196, 95)
HSLhsl(48, 66%, 62%)
HSVhsv(48, 57%, 87%)
CMYKcmyk(0%, 11.7%, 57.2%, 12.9%)
CIE-LABlab(79.52, -2.97, 53.19)
CIE-LCHlch(79.52, 53.28, 93.20°)
OKLaboklab(82.25% -0.011 0.1239)
OKLCHoklch(82.25% 0.124 95.1)
XYZxyz(51.9318, 55.8381, 18.8666)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC45F #5F79DE
analogous
#DE855F #DEC45F #B8DE5F
triadic
#DEC45F #5FDEC4 #C45FDE
tetradic
#DEC45F #5FDE85 #5F79DE #DE5FB8
square
#DEC45F #5FDE85 #5F79DE #DE5FB8
split-complementary
#DEC45F #5FB8DE #855FDE
monochromatic
#A18721 #D4B12C #DEC45F #E8D792 #F3E9C4

Accessibility & contrast

On white

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

On black

12.17
#DEC45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC45F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC45F#FFFFFF#000000##000000
##DEC45F1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DCC963
Tritanopia (blue-blind)
#EEB7AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dec45f;
/* rgb */ color: rgb(222, 196, 95);
/* oklch */ color: oklch(82.2% 0.124 95.1);
Tailwind
colors: {
  custom: {
    50: '#ebd58f',
    500: '#dec45f',
    950: '#000000',
  },
}
SCSS
$custom: #dec45f;
$custom-light: #ebd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec45f",
  "rgb": {
    "r": 222,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 47.717,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82249,
    "c": 0.12436,
    "h": 95.1
  },
  "luminance": 0.55836
}

Semantic roles & 50–950 ramp

primary
#DEC45F
secondary
#3D52A4
accent
#3DCE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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