#DCD76C#DCD76C

#DCD76C is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.130 H 106.4°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DCD76C
RGBrgb(220, 215, 108)
HSLhsl(57, 62%, 64%)
HSVhsv(57, 51%, 86%)
CMYKcmyk(0%, 2.3%, 50.9%, 13.7%)
CIE-LABlab(84.43, -12.43, 52.79)
CIE-LCHlch(84.43, 54.24, 103.25°)
OKLaboklab(86.15% -0.0366 0.1244)
OKLCHoklch(86.15% 0.13 106.4)
XYZxyz(56.5239, 64.9008, 23.7341)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD76C #6C71DC
analogous
#DC9F6C #DCD76C #A9DC6C
triadic
#DCD76C #6CDCD7 #D76CDC
tetradic
#DCD76C #6CDC9F #6C71DC #DC6CA9
square
#DCD76C #6CDC9F #6C71DC #DC6CA9
split-complementary
#DCD76C #6CA9DC #9F6CDC
monochromatic
#A6A028 #D0CA3B #DCD76C #E8E49D #F4F2CF

Accessibility & contrast

On white

1.50
#DCD76C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DCD76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD76C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD76C#FFFFFF#000000##000000
##DCD76C1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E9D571
Tritanopia (blue-blind)
#EACBBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd76c;
/* rgb */ color: rgb(220, 215, 108);
/* oklch */ color: oklch(86.1% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#e9e399',
    500: '#dcd76c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd76c;
$custom-light: #e9e399;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd76c",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 108
  },
  "hsl": {
    "h": 57.321,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86149,
    "c": 0.12966,
    "h": 106.4
  },
  "luminance": 0.64899
}

Semantic roles & 50–950 ramp

primary
#DCD76C
secondary
#4348A9
accent
#24C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD76C

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

Preview Lab → · Contrast checker → · Palette generator →

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