#DCC85C#DCC85C

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

Color values

HEX#DCC85C
RGBrgb(220, 200, 92)
HSLhsl(51, 65%, 61%)
HSVhsv(51, 58%, 86%)
CMYKcmyk(0%, 9.1%, 58.2%, 13.7%)
CIE-LABlab(80.35, -6.08, 55.47)
CIE-LCHlch(80.35, 55.80, 96.26°)
OKLaboklab(82.85% -0.0202 0.1284)
OKLCHoklch(82.85% 0.13 98.9)
XYZxyz(52.1032, 57.2991, 18.4385)
Luminance0.5730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC85C #5C70DC
analogous
#DC885C #DCC85C #B0DC5C
triadic
#DCC85C #5CDCC8 #C85CDC
tetradic
#DCC85C #5CDC88 #5C70DC #DC5CB0
square
#DCC85C #5CDC88 #5C70DC #DC5CB0
split-complementary
#DCC85C #5CB0DC #885CDC
monochromatic
#9C8922 #CEB52C #DCC85C #E7D98E #F2EAC1

Accessibility & contrast

On white

1.69
#DCC85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC85C#FFFFFF#000000##000000
##DCC85C1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C351
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#ECBBB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc85c;
/* rgb */ color: rgb(220, 200, 92);
/* oklch */ color: oklch(82.9% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#ead88e',
    500: '#dcc85c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc85c;
$custom-light: #ead88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc85c",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 92
  },
  "hsl": {
    "h": 50.625,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82851,
    "c": 0.13002,
    "h": 98.9
  },
  "luminance": 0.57297
}

Semantic roles & 50–950 ramp

primary
#DCC85C
secondary
#3C4CA0
accent
#35CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC85C

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

Preview Lab → · Contrast checker → · Palette generator →

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