#DCD76F#DCD76F

#DCD76F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.2% C 0.127 H 106.3°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#DCD76F
RGBrgb(220, 215, 111)
HSLhsl(57, 61%, 65%)
HSVhsv(57, 50%, 86%)
CMYKcmyk(0%, 2.3%, 49.5%, 13.7%)
CIE-LABlab(84.47, -12.17, 51.42)
CIE-LCHlch(84.47, 52.84, 103.32°)
OKLaboklab(86.19% -0.0356 0.1217)
OKLCHoklch(86.19% 0.127 106.3)
XYZxyz(56.6863, 64.9658, 24.5894)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD76F #6F74DC
analogous
#DCA16F #DCD76F #AADC6F
triadic
#DCD76F #6FDCD7 #D76FDC
tetradic
#DCD76F #6FDCA1 #6F74DC #DC6FAA
square
#DCD76F #6FDCA1 #6F74DC #DC6FAA
split-complementary
#DCD76F #6FAADC #A16FDC
monochromatic
#A8A229 #D0C93E #DCD76F #E8E5A0 #F4F2D1

Accessibility & contrast

On white

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

On black

13.99
#DCD76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD76F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD76F#FFFFFF#000000##000000
##DCD76F1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D066
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#E9CBBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd76f;
/* rgb */ color: rgb(220, 215, 111);
/* oklch */ color: oklch(86.2% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#e9e39b',
    500: '#dcd76f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd76f;
$custom-light: #e9e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd76f",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 57.248,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86186,
    "c": 0.12676,
    "h": 106.3
  },
  "luminance": 0.64964
}

Semantic roles & 50–950 ramp

primary
#DCD76F
secondary
#4549AB
accent
#25C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD76F

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

Preview Lab → · Contrast checker → · Palette generator →

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