#D2C76F#D2C76F

#D2C76F is a light, moderate yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.111 H 102.2°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D2C76F
RGBrgb(210, 199, 111)
HSLhsl(53, 52%, 63%)
HSVhsv(53, 47%, 82%)
CMYKcmyk(0%, 5.2%, 47.1%, 17.6%)
CIE-LABlab(79.44, -8.10, 45.17)
CIE-LCHlch(79.44, 45.89, 100.17°)
OKLaboklab(82% -0.0233 0.108)
OKLCHoklch(82% 0.111 102.2)
XYZxyz(49.8723, 55.6978, 23.1595)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C76F #6F7AD2
analogous
#D2956F #D2C76F #ACD26F
triadic
#D2C76F #6FD2C7 #C76FD2
tetradic
#D2C76F #6FD295 #6F7AD2 #D26FAC
square
#D2C76F #6FD295 #6F7AD2 #D26FAC
split-complementary
#D2C76F #6FACD2 #956FD2
monochromatic
#978C2F #C3B540 #D2C76F #E1D99E #EFEBCC

Accessibility & contrast

On white

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

On black

12.14
#D2C76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C76F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C76F#FFFFFF#000000##000000
##D2C76F1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#D9C773
Tritanopia (blue-blind)
#DFBCB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c76f;
/* rgb */ color: rgb(210, 199, 111);
/* oklch */ color: oklch(82.0% 0.111 102.2);
Tailwind
colors: {
  custom: {
    50: '#e1d79a',
    500: '#d2c76f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c76f;
$custom-light: #e1d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c76f",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 53.333,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81997,
    "c": 0.11053,
    "h": 102.2
  },
  "luminance": 0.55696
}

Semantic roles & 50–950 ramp

primary
#D2C76F
secondary
#49529D
accent
#37C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2C76F

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

Preview Lab → · Contrast checker → · Palette generator →

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