#DEC85B#DEC85B

#DEC85B is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.131 H 98.0°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DEC85B
RGBrgb(222, 200, 91)
HSLhsl(50, 66%, 61%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.9%, 59%, 12.9%)
CIE-LABlab(80.51, -5.32, 56.15)
CIE-LCHlch(80.51, 56.41, 95.41°)
OKLaboklab(83.02% -0.0182 0.1298)
OKLCHoklch(83.02% 0.131 98)
XYZxyz(52.6689, 57.5958, 18.2383)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC85B #5B71DE
analogous
#DE875B #DEC85B #B3DE5B
triadic
#DEC85B #5BDEC8 #C85BDE
tetradic
#DEC85B #5BDE87 #5B71DE #DE5BB3
square
#DEC85B #5BDE87 #5B71DE #DE5BB3
split-complementary
#DEC85B #5BB3DE #875BDE
monochromatic
#9F8920 #D2B62A #DEC85B #E8D98E #F3EAC1

Accessibility & contrast

On white

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

On black

12.52
#DEC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC85B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC85B#FFFFFF#000000##000000
##DEC85B1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC350
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#EEBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec85b;
/* rgb */ color: rgb(222, 200, 91);
/* oklch */ color: oklch(83.0% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#ebd88d',
    500: '#dec85b',
    950: '#000000',
  },
}
SCSS
$custom: #dec85b;
$custom-light: #ebd88d;
$custom-dark: #000000;
JSON
{
  "hex": "#dec85b",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 49.924,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83022,
    "c": 0.13103,
    "h": 98
  },
  "luminance": 0.57593
}

Semantic roles & 50–950 ramp

primary
#DEC85B
secondary
#3B4CA2
accent
#36CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DEC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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