#DEC85F#DEC85F

#DEC85F is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.128 H 97.6°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#DEC85F
RGBrgb(222, 200, 95)
HSLhsl(50, 66%, 62%)
HSVhsv(50, 57%, 87%)
CMYKcmyk(0%, 9.9%, 57.2%, 12.9%)
CIE-LABlab(80.55, -5.03, 54.37)
CIE-LCHlch(80.55, 54.61, 95.29°)
OKLaboklab(83.07% -0.0169 0.1264)
OKLCHoklch(83.07% 0.128 97.6)
XYZxyz(52.8461, 57.6666, 19.1714)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC85F #5F75DE
analogous
#DE885F #DEC85F #B5DE5F
triadic
#DEC85F #5FDEC8 #C85FDE
tetradic
#DEC85F #5FDE88 #5F75DE #DE5FB5
square
#DEC85F #5FDE88 #5F75DE #DE5FB5
split-complementary
#DEC85F #5FB5DE #885FDE
monochromatic
#A18B21 #D4B72C #DEC85F #E8D992 #F3EBC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC85F#FFFFFF#000000##000000
##DEC85F1.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)
#D9C455
Deuteranopia (green-blind)
#DFCB64
Tritanopia (blue-blind)
#EEBBB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dec85f;
/* rgb */ color: rgb(222, 200, 95);
/* oklch */ color: oklch(83.1% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#ebd890',
    500: '#dec85f',
    950: '#000000',
  },
}
SCSS
$custom: #dec85f;
$custom-light: #ebd890;
$custom-dark: #000000;
JSON
{
  "hex": "#dec85f",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 49.606,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83066,
    "c": 0.12754,
    "h": 97.6
  },
  "luminance": 0.57664
}

Semantic roles & 50–950 ramp

primary
#DEC85F
secondary
#3D4FA4
accent
#37CE18
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DEC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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