#DCC95D#DCC95D

#DCC95D is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.1% C 0.130 H 99.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DCC95D
RGBrgb(220, 201, 93)
HSLhsl(51, 64%, 61%)
HSVhsv(51, 58%, 86%)
CMYKcmyk(0%, 8.6%, 57.7%, 13.7%)
CIE-LABlab(80.62, -6.52, 55.32)
CIE-LCHlch(80.62, 55.70, 96.72°)
OKLaboklab(83.07% -0.0213 0.1282)
OKLCHoklch(83.07% 0.13 99.4)
XYZxyz(52.3796, 57.7814, 18.7477)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC95D #5D70DC
analogous
#DC8A5D #DCC95D #B0DC5D
triadic
#DCC95D #5DDCC9 #C95DDC
tetradic
#DCC95D #5DDC8A #5D70DC #DC5DB0
square
#DCC95D #5DDC8A #5D70DC #DC5DB0
split-complementary
#DCC95D #5DB0DC #8A5DDC
monochromatic
#9D8A22 #CFB72D #DCC95D #E7DA8F #F2EBC2

Accessibility & contrast

On white

1.67
#DCC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#DCC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC95D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC95D#FFFFFF#000000##000000
##DCC95D1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#EBBCB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc95d;
/* rgb */ color: rgb(220, 201, 93);
/* oklch */ color: oklch(83.1% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#ead98e',
    500: '#dcc95d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc95d;
$custom-light: #ead98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc95d",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 51.024,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83068,
    "c": 0.13,
    "h": 99.4
  },
  "luminance": 0.57779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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