#DEC85C#DEC85C

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

Color values

HEX#DEC85C
RGBrgb(222, 200, 92)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 59%, 87%)
CMYKcmyk(0%, 9.9%, 58.6%, 12.9%)
CIE-LABlab(80.52, -5.25, 55.71)
CIE-LCHlch(80.52, 55.96, 95.38°)
OKLaboklab(83.03% -0.0179 0.1289)
OKLCHoklch(83.03% 0.13 97.9)
XYZxyz(52.7123, 57.6132, 18.4670)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC85C #5C72DE
analogous
#DE875C #DEC85C #B3DE5C
triadic
#DEC85C #5CDEC8 #C85CDE
tetradic
#DEC85C #5CDE87 #5C72DE #DE5CB3
square
#DEC85C #5CDE87 #5C72DE #DE5CB3
split-complementary
#DEC85C #5CB3DE #875CDE
monochromatic
#9F8A20 #D2B62B #DEC85C #E8D98F #F3EAC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC85C#FFFFFF#000000##000000
##DEC85C1.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)
#D9C351
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#EEBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec85c;
/* rgb */ color: rgb(222, 200, 92);
/* oklch */ color: oklch(83.0% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#ebd88e',
    500: '#dec85c',
    950: '#000000',
  },
}
SCSS
$custom: #dec85c;
$custom-light: #ebd88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dec85c",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 92
  },
  "hsl": {
    "h": 49.846,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83032,
    "c": 0.13017,
    "h": 97.9
  },
  "luminance": 0.57611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC85C

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

Preview Lab → · Contrast checker → · Palette generator →

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