#DEC94C#DEC94C

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

Color values

HEX#DEC94C
RGBrgb(222, 201, 76)
HSLhsl(51, 69%, 58%)
HSVhsv(51, 66%, 87%)
CMYKcmyk(0%, 9.5%, 65.8%, 12.9%)
CIE-LABlab(80.64, -6.79, 62.78)
CIE-LCHlch(80.64, 63.15, 96.18°)
OKLaboklab(83.08% -0.0242 0.1417)
OKLCHoklch(83.08% 0.144 99.7)
XYZxyz(52.3176, 57.8270, 15.2420)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC94C #4C61DE
analogous
#DE804C #DEC94C #AADE4C
triadic
#DEC94C #4CDEC9 #C94CDE
tetradic
#DEC94C #4CDE80 #4C61DE #DE4CAA
square
#DEC94C #4CDE80 #4C61DE #DE4CAA
split-complementary
#DEC94C #4CAADE #804CDE
monochromatic
#94831B #C8B025 #DEC94C #E8D980 #F1E8B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC94C#FFFFFF#000000##000000
##DEC94C1.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)
#DBC43C
Deuteranopia (green-blind)
#E1CC53
Tritanopia (blue-blind)
#EFBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec94c;
/* rgb */ color: rgb(222, 201, 76);
/* oklch */ color: oklch(83.1% 0.144 99.7);
Tailwind
colors: {
  custom: {
    50: '#ecd984',
    500: '#dec94c',
    950: '#000000',
  },
}
SCSS
$custom: #dec94c;
$custom-light: #ecd984;
$custom-dark: #000000;
JSON
{
  "hex": "#dec94c",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 51.37,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83082,
    "c": 0.14375,
    "h": 99.7
  },
  "luminance": 0.57825
}

Semantic roles & 50–950 ramp

primary
#DEC94C
secondary
#354499
accent
#55EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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