#DEC05D#DEC05D

#DEC05D is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.123 H 92.6°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#DEC05D
RGBrgb(222, 192, 93)
HSLhsl(46, 66%, 62%)
HSVhsv(46, 58%, 87%)
CMYKcmyk(0%, 13.5%, 58.1%, 12.9%)
CIE-LABlab(78.47, -1.04, 52.92)
CIE-LCHlch(78.47, 52.93, 91.13°)
OKLaboklab(81.42% -0.0057 0.1231)
OKLCHoklch(81.42% 0.123 92.6)
XYZxyz(50.9518, 54.0217, 18.0972)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC05D #5D7BDE
analogous
#DE805D #DEC05D #BBDE5D
triadic
#DEC05D #5DDEC0 #C05DDE
tetradic
#DEC05D #5DDE80 #5D7BDE #DE5DBB
square
#DEC05D #5DDE80 #5D7BDE #DE5DBB
split-complementary
#DEC05D #5DBBDE #805DDE
monochromatic
#A08221 #D3AC2B #DEC05D #E8D490 #F3E8C3

Accessibility & contrast

On white

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

On black

11.80
#DEC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC05D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC05D#FFFFFF#000000##000000
##DEC05D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec05d;
/* rgb */ color: rgb(222, 192, 93);
/* oklch */ color: oklch(81.4% 0.123 92.6);
Tailwind
colors: {
  custom: {
    50: '#ebd28e',
    500: '#dec05d',
    950: '#000000',
  },
}
SCSS
$custom: #dec05d;
$custom-light: #ebd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec05d",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 46.047,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.12319,
    "h": 92.6
  },
  "luminance": 0.54019
}

Semantic roles & 50–950 ramp

primary
#DEC05D
secondary
#3C54A3
accent
#42CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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