#DEC94F#DEC94F

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

Color values

HEX#DEC94F
RGBrgb(222, 201, 79)
HSLhsl(51, 68%, 59%)
HSVhsv(51, 64%, 87%)
CMYKcmyk(0%, 9.5%, 64.4%, 12.9%)
CIE-LABlab(80.67, -6.62, 61.56)
CIE-LCHlch(80.67, 61.91, 96.14°)
OKLaboklab(83.11% -0.0233 0.1396)
OKLCHoklch(83.11% 0.142 99.5)
XYZxyz(52.4244, 57.8697, 15.8042)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC94F #4F64DE
analogous
#DE824F #DEC94F #ACDE4F
triadic
#DEC94F #4FDEC9 #C94FDE
tetradic
#DEC94F #4FDE82 #4F64DE #DE4FAC
square
#DEC94F #4FDE82 #4F64DE #DE4FAC
split-complementary
#DEC94F #4FACDE #824FDE
monochromatic
#96841C #CAB226 #DEC94F #E8D983 #F1E9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC94F#FFFFFF#000000##000000
##DEC94F1.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)
#DBC440
Deuteranopia (green-blind)
#E1CC56
Tritanopia (blue-blind)
#EEBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec94f;
/* rgb */ color: rgb(222, 201, 79);
/* oklch */ color: oklch(83.1% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#ecd986',
    500: '#dec94f',
    950: '#000000',
  },
}
SCSS
$custom: #dec94f;
$custom-light: #ecd986;
$custom-dark: #000000;
JSON
{
  "hex": "#dec94f",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 51.189,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83108,
    "c": 0.14152,
    "h": 99.5
  },
  "luminance": 0.57867
}

Semantic roles & 50–950 ramp

primary
#DEC94F
secondary
#37459B
accent
#56EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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