#DCC95C#DCC95C

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

Color values

HEX#DCC95C
RGBrgb(220, 201, 92)
HSLhsl(51, 65%, 61%)
HSVhsv(51, 58%, 86%)
CMYKcmyk(0%, 8.6%, 58.2%, 13.7%)
CIE-LABlab(80.61, -6.59, 55.76)
CIE-LCHlch(80.61, 56.15, 96.74°)
OKLaboklab(83.06% -0.0216 0.1291)
OKLCHoklch(83.06% 0.131 99.5)
XYZxyz(52.3356, 57.7638, 18.5159)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC95C #5C6FDC
analogous
#DC895C #DCC95C #AFDC5C
triadic
#DCC95C #5CDCC9 #C95CDC
tetradic
#DCC95C #5CDC89 #5C6FDC #DC5CAF
square
#DCC95C #5CDC89 #5C6FDC #DC5CAF
split-complementary
#DCC95C #5CAFDC #895CDC
monochromatic
#9C8A22 #CEB62C #DCC95C #E7DA8E #F2EAC1

Accessibility & contrast

On white

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

On black

12.55
#DCC95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC95C
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC95C#FFFFFF#000000##000000
##DCC95C1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc95c;
/* rgb */ color: rgb(220, 201, 92);
/* oklch */ color: oklch(83.1% 0.131 99.5);
Tailwind
colors: {
  custom: {
    50: '#ead98e',
    500: '#dcc95c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc95c;
$custom-light: #ead98e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc95c",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 92
  },
  "hsl": {
    "h": 51.094,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83057,
    "c": 0.13087,
    "h": 99.5
  },
  "luminance": 0.57762
}

Semantic roles & 50–950 ramp

primary
#DCC95C
secondary
#3C4BA0
accent
#34CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC95C

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

Preview Lab → · Contrast checker → · Palette generator →

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