#DEC05E#DEC05E

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

Color values

HEX#DEC05E
RGBrgb(222, 192, 94)
HSLhsl(46, 66%, 62%)
HSVhsv(46, 58%, 87%)
CMYKcmyk(0%, 13.5%, 57.7%, 12.9%)
CIE-LABlab(78.48, -0.97, 52.47)
CIE-LCHlch(78.48, 52.48, 91.06°)
OKLaboklab(81.43% -0.0053 0.1222)
OKLCHoklch(81.43% 0.122 92.5)
XYZxyz(50.9964, 54.0395, 18.3320)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC05E #5E7CDE
analogous
#DE805E #DEC05E #BCDE5E
triadic
#DEC05E #5EDEC0 #C05EDE
tetradic
#DEC05E #5EDE80 #5E7CDE #DE5EBC
square
#DEC05E #5EDE80 #5E7CDE #DE5EBC
split-complementary
#DEC05E #5EBCDE #805EDE
monochromatic
#A18321 #D3AC2B #DEC05E #E8D491 #F3E8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC05E#FFFFFF#000000##000000
##DEC05E1.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)
#D2BD54
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#EEB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dec05e;
/* rgb */ color: rgb(222, 192, 94);
/* oklch */ color: oklch(81.4% 0.122 92.5);
Tailwind
colors: {
  custom: {
    50: '#ebd28f',
    500: '#dec05e',
    950: '#000000',
  },
}
SCSS
$custom: #dec05e;
$custom-light: #ebd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec05e",
  "rgb": {
    "r": 222,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 45.938,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81427,
    "c": 0.12231,
    "h": 92.5
  },
  "luminance": 0.54037
}

Semantic roles & 50–950 ramp

primary
#DEC05E
secondary
#3C55A4
accent
#42CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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