#D2C76A#D2C76A

#D2C76A is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.116 H 102.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D2C76A
RGBrgb(210, 199, 106)
HSLhsl(54, 54%, 62%)
HSVhsv(54, 50%, 82%)
CMYKcmyk(0%, 5.2%, 49.5%, 17.6%)
CIE-LABlab(79.38, -8.56, 47.54)
CIE-LCHlch(79.38, 48.30, 100.21°)
OKLaboklab(81.93% -0.0252 0.1129)
OKLCHoklch(81.93% 0.116 102.6)
XYZxyz(49.6047, 55.5907, 21.7500)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C76A #6A75D2
analogous
#D2936A #D2C76A #A9D26A
triadic
#D2C76A #6AD2C7 #C76AD2
tetradic
#D2C76A #6AD293 #6A75D2 #D26AA9
square
#D2C76A #6AD293 #6A75D2 #D26AA9
split-complementary
#D2C76A #6AA9D2 #936AD2
monochromatic
#958A2D #C4B53B #D2C76A #E0D999 #EEEAC8

Accessibility & contrast

On white

1.73
#D2C76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D2C76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C76A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C76A#FFFFFF#000000##000000
##D2C76A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#D9C76E
Tritanopia (blue-blind)
#DFBCB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c76a;
/* rgb */ color: rgb(210, 199, 106);
/* oklch */ color: oklch(81.9% 0.116 102.6);
Tailwind
colors: {
  custom: {
    50: '#e2d797',
    500: '#d2c76a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c76a;
$custom-light: #e2d797;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c76a",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 53.654,
    "s": 53.608,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81928,
    "c": 0.11563,
    "h": 102.6
  },
  "luminance": 0.55589
}

Semantic roles & 50–950 ramp

primary
#D2C76A
secondary
#464F9A
accent
#35C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C76A

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

Preview Lab → · Contrast checker → · Palette generator →

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