#DEC85D#DEC85D

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

Color values

HEX#DEC85D
RGBrgb(222, 200, 93)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 58%, 87%)
CMYKcmyk(0%, 9.9%, 58.1%, 12.9%)
CIE-LABlab(80.53, -5.18, 55.27)
CIE-LCHlch(80.53, 55.51, 95.35°)
OKLaboklab(83.04% -0.0176 0.1281)
OKLCHoklch(83.04% 0.129 97.8)
XYZxyz(52.7563, 57.6308, 18.6988)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC85D #5D73DE
analogous
#DE875D #DEC85D #B4DE5D
triadic
#DEC85D #5DDEC8 #C85DDE
tetradic
#DEC85D #5DDE87 #5D73DE #DE5DB4
square
#DEC85D #5DDE87 #5D73DE #DE5DB4
split-complementary
#DEC85D #5DB4DE #875DDE
monochromatic
#A08A21 #D3B62B #DEC85D #E8D990 #F3EBC3

Accessibility & contrast

On white

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

On black

12.53
#DEC85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC85D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC85D#FFFFFF#000000##000000
##DEC85D1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec85d;
/* rgb */ color: rgb(222, 200, 93);
/* oklch */ color: oklch(83.0% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#ebd88e',
    500: '#dec85d',
    950: '#000000',
  },
}
SCSS
$custom: #dec85d;
$custom-light: #ebd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec85d",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 49.767,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83043,
    "c": 0.12929,
    "h": 97.8
  },
  "luminance": 0.57628
}

Semantic roles & 50–950 ramp

primary
#DEC85D
secondary
#3C4EA3
accent
#37CE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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