#DCD76B#DCD76B

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

Color values

HEX#DCD76B
RGBrgb(220, 215, 107)
HSLhsl(57, 62%, 64%)
HSVhsv(57, 51%, 86%)
CMYKcmyk(0%, 2.3%, 51.4%, 13.7%)
CIE-LABlab(84.42, -12.51, 53.25)
CIE-LCHlch(84.42, 54.70, 103.22°)
OKLaboklab(86.14% -0.037 0.1253)
OKLCHoklch(86.14% 0.131 106.4)
XYZxyz(56.4710, 64.8797, 23.4554)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD76B #6B70DC
analogous
#DC9F6B #DCD76B #A9DC6B
triadic
#DCD76B #6BDCD7 #D76BDC
tetradic
#DCD76B #6BDC9F #6B70DC #DC6BA9
square
#DCD76B #6BDC9F #6B70DC #DC6BA9
split-complementary
#DCD76B #6BA9DC #9F6BDC
monochromatic
#A5A027 #D0CA3A #DCD76B #E8E49C #F3F2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD76B#FFFFFF#000000##000000
##DCD76B1.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)
#E6D061
Deuteranopia (green-blind)
#E9D570
Tritanopia (blue-blind)
#EACBBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd76b;
/* rgb */ color: rgb(220, 215, 107);
/* oklch */ color: oklch(86.1% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#e9e398',
    500: '#dcd76b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd76b;
$custom-light: #e9e398;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd76b",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 107
  },
  "hsl": {
    "h": 57.345,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86136,
    "c": 0.13061,
    "h": 106.4
  },
  "luminance": 0.64878
}

Semantic roles & 50–950 ramp

primary
#DCD76B
secondary
#4347A8
accent
#24C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD76B

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

Preview Lab → · Contrast checker → · Palette generator →

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