#DEC94D#DEC94D

#DEC94D is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.143 H 99.6°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DEC94D
RGBrgb(222, 201, 77)
HSLhsl(51, 69%, 59%)
HSVhsv(51, 65%, 87%)
CMYKcmyk(0%, 9.5%, 65.3%, 12.9%)
CIE-LABlab(80.65, -6.74, 62.37)
CIE-LCHlch(80.65, 62.74, 96.16°)
OKLaboklab(83.09% -0.0239 0.141)
OKLCHoklch(83.09% 0.143 99.6)
XYZxyz(52.3527, 57.8411, 15.4266)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC94D #4D62DE
analogous
#DE804D #DEC94D #AADE4D
triadic
#DEC94D #4DDEC9 #C94DDE
tetradic
#DEC94D #4DDE80 #4D62DE #DE4DAA
square
#DEC94D #4DDE80 #4D62DE #DE4DAA
split-complementary
#DEC94D #4DAADE #804DDE
monochromatic
#95831C #C9B125 #DEC94D #E8D981 #F1E8B4

Accessibility & contrast

On white

1.67
#DEC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#DEC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC94D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC94D#FFFFFF#000000##000000
##DEC94D1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43D
Deuteranopia (green-blind)
#E1CC54
Tritanopia (blue-blind)
#EEBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec94d;
/* rgb */ color: rgb(222, 201, 77);
/* oklch */ color: oklch(83.1% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#ecd985',
    500: '#dec94d',
    950: '#000000',
  },
}
SCSS
$custom: #dec94d;
$custom-light: #ecd985;
$custom-dark: #000000;
JSON
{
  "hex": "#dec94d",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 51.31,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83091,
    "c": 0.14302,
    "h": 99.6
  },
  "luminance": 0.57839
}

Semantic roles & 50–950 ramp

primary
#DEC94D
secondary
#364499
accent
#56EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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