#DCC85F#DCC85F

#DCC85F is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.9% C 0.127 H 98.7°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#DCC85F
RGBrgb(220, 200, 95)
HSLhsl(50, 64%, 62%)
HSVhsv(50, 57%, 86%)
CMYKcmyk(0%, 9.1%, 56.8%, 13.7%)
CIE-LABlab(80.38, -5.86, 54.13)
CIE-LCHlch(80.38, 54.44, 96.18°)
OKLaboklab(82.89% -0.0192 0.1259)
OKLCHoklch(82.89% 0.127 98.7)
XYZxyz(52.2370, 57.3526, 19.1429)
Luminance0.5735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC85F #5F73DC
analogous
#DC8A5F #DCC85F #B2DC5F
triadic
#DCC85F #5FDCC8 #C85FDC
tetradic
#DCC85F #5FDC8A #5F73DC #DC5FB2
square
#DCC85F #5FDC8A #5F73DC #DC5FB2
split-complementary
#DCC85F #5FB2DC #8A5FDC
monochromatic
#9E8A23 #D0B62E #DCC85F #E7D991 #F2EBC3

Accessibility & contrast

On white

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

On black

12.47
#DCC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC85F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC85F#FFFFFF#000000##000000
##DCC85F1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C355
Deuteranopia (green-blind)
#DECB64
Tritanopia (blue-blind)
#EBBBB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc85f;
/* rgb */ color: rgb(220, 200, 95);
/* oklch */ color: oklch(82.9% 0.127 98.7);
Tailwind
colors: {
  custom: {
    50: '#e9d890',
    500: '#dcc85f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc85f;
$custom-light: #e9d890;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc85f",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 50.4,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82885,
    "c": 0.12738,
    "h": 98.7
  },
  "luminance": 0.5735
}

Semantic roles & 50–950 ramp

primary
#DCC85F
secondary
#3E4EA2
accent
#36CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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