#DEC05F#DEC05F

#DEC05F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.121 H 92.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#DEC05F
RGBrgb(222, 192, 95)
HSLhsl(46, 66%, 62%)
HSVhsv(46, 57%, 87%)
CMYKcmyk(0%, 13.5%, 57.2%, 12.9%)
CIE-LABlab(78.50, -0.90, 52.01)
CIE-LCHlch(78.50, 52.02, 90.99°)
OKLaboklab(81.44% -0.005 0.1213)
OKLCHoklch(81.44% 0.121 92.4)
XYZxyz(51.0415, 54.0576, 18.5699)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC05F #5F7DDE
analogous
#DE815F #DEC05F #BCDE5F
triadic
#DEC05F #5FDEC0 #C05FDE
tetradic
#DEC05F #5FDE81 #5F7DDE #DE5FBC
square
#DEC05F #5FDE81 #5F7DDE #DE5FBC
split-complementary
#DEC05F #5FBCDE #815FDE
monochromatic
#A18321 #D4AC2C #DEC05F #E8D492 #F3E8C4

Accessibility & contrast

On white

1.78
#DEC05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#DEC05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC05F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC05F#FFFFFF#000000##000000
##DEC05F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD56
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#EEB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec05f;
/* rgb */ color: rgb(222, 192, 95);
/* oklch */ color: oklch(81.4% 0.121 92.4);
Tailwind
colors: {
  custom: {
    50: '#ebd28f',
    500: '#dec05f',
    950: '#000000',
  },
}
SCSS
$custom: #dec05f;
$custom-light: #ebd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec05f",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 45.827,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.12142,
    "h": 92.4
  },
  "luminance": 0.54055
}

Semantic roles & 50–950 ramp

primary
#DEC05F
secondary
#3D55A4
accent
#43CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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