#DCC85D#DCC85D

#DCC85D is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.9% C 0.129 H 98.8°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#DCC85D
RGBrgb(220, 200, 93)
HSLhsl(51, 64%, 61%)
HSVhsv(51, 58%, 86%)
CMYKcmyk(0%, 9.1%, 57.7%, 13.7%)
CIE-LABlab(80.36, -6.01, 55.02)
CIE-LCHlch(80.36, 55.35, 96.23°)
OKLaboklab(82.86% -0.0199 0.1276)
OKLCHoklch(82.86% 0.129 98.8)
XYZxyz(52.1472, 57.3167, 18.6702)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC85D #5D71DC
analogous
#DC895D #DCC85D #B1DC5D
triadic
#DCC85D #5DDCC8 #C85DDC
tetradic
#DCC85D #5DDC89 #5D71DC #DC5DB1
square
#DCC85D #5DDC89 #5D71DC #DC5DB1
split-complementary
#DCC85D #5DB1DC #895DDC
monochromatic
#9D8922 #CFB62D #DCC85D #E7D98F #F2EAC2

Accessibility & contrast

On white

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

On black

12.46
#DCC85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC85D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC85D#FFFFFF#000000##000000
##DCC85D1.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc85d;
/* rgb */ color: rgb(220, 200, 93);
/* oklch */ color: oklch(82.9% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#ead88e',
    500: '#dcc85d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc85d;
$custom-light: #ead88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc85d",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 93
  },
  "hsl": {
    "h": 50.551,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82862,
    "c": 0.12915,
    "h": 98.8
  },
  "luminance": 0.57315
}

Semantic roles & 50–950 ramp

primary
#DCC85D
secondary
#3D4CA1
accent
#35CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC85D

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

Preview Lab → · Contrast checker → · Palette generator →

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