#DEC84F#DEC84F

#DEC84F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.141 H 98.9°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#DEC84F
RGBrgb(222, 200, 79)
HSLhsl(51, 68%, 59%)
HSVhsv(51, 64%, 87%)
CMYKcmyk(0%, 9.9%, 64.4%, 12.9%)
CIE-LABlab(80.41, -6.11, 61.28)
CIE-LCHlch(80.41, 61.59, 95.69°)
OKLaboklab(82.9% -0.0219 0.139)
OKLCHoklch(82.9% 0.141 98.9)
XYZxyz(52.1920, 57.4050, 15.7267)
Luminance0.5740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC84F #4F65DE
analogous
#DE814F #DEC84F #ADDE4F
triadic
#DEC84F #4FDEC8 #C84FDE
tetradic
#DEC84F #4FDE81 #4F65DE #DE4FAD
square
#DEC84F #4FDE81 #4F65DE #DE4FAD
split-complementary
#DEC84F #4FADDE #814FDE
monochromatic
#96841C #CAB126 #DEC84F #E8D883 #F1E8B6

Accessibility & contrast

On white

1.68
#DEC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#DEC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC84F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC84F#FFFFFF#000000##000000
##DEC84F1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E0CB55
Tritanopia (blue-blind)
#EEBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec84f;
/* rgb */ color: rgb(222, 200, 79);
/* oklch */ color: oklch(82.9% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#ecd886',
    500: '#dec84f',
    950: '#000000',
  },
}
SCSS
$custom: #dec84f;
$custom-light: #ecd886;
$custom-dark: #000000;
JSON
{
  "hex": "#dec84f",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 50.769,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82903,
    "c": 0.14072,
    "h": 98.9
  },
  "luminance": 0.57403
}

Semantic roles & 50–950 ramp

primary
#DEC84F
secondary
#37469B
accent
#57EB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DEC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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