#DEC05C#DEC05C

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

Color values

HEX#DEC05C
RGBrgb(222, 192, 92)
HSLhsl(46, 66%, 62%)
HSVhsv(46, 59%, 87%)
CMYKcmyk(0%, 13.5%, 58.6%, 12.9%)
CIE-LABlab(78.46, -1.12, 53.38)
CIE-LCHlch(78.46, 53.39, 91.20°)
OKLaboklab(81.4% -0.006 0.1239)
OKLCHoklch(81.4% 0.124 92.8)
XYZxyz(50.9078, 54.0041, 17.8655)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC05C #5C7ADE
analogous
#DE7F5C #DEC05C #BBDE5C
triadic
#DEC05C #5CDEC0 #C05CDE
tetradic
#DEC05C #5CDE7F #5C7ADE #DE5CBB
square
#DEC05C #5CDE7F #5C7ADE #DE5CBB
split-complementary
#DEC05C #5CBBDE #7F5CDE
monochromatic
#9F8220 #D2AC2B #DEC05C #E8D48F #F3E7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC05C#FFFFFF#000000##000000
##DEC05C1.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)
#D2BD52
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#EEB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec05c;
/* rgb */ color: rgb(222, 192, 92);
/* oklch */ color: oklch(81.4% 0.124 92.8);
Tailwind
colors: {
  custom: {
    50: '#ebd28d',
    500: '#dec05c',
    950: '#000000',
  },
}
SCSS
$custom: #dec05c;
$custom-light: #ebd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec05c",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 46.154,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.12406,
    "h": 92.8
  },
  "luminance": 0.54002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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