#D2C679#D2C679

#D2C679 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.099 H 100.5°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D2C679
RGBrgb(210, 198, 121)
HSLhsl(52, 50%, 65%)
HSVhsv(52, 42%, 82%)
CMYKcmyk(0%, 5.7%, 42.4%, 17.6%)
CIE-LABlab(79.31, -6.60, 40.02)
CIE-LCHlch(79.31, 40.56, 99.36°)
OKLaboklab(81.94% -0.0181 0.0972)
OKLCHoklch(81.94% 0.099 100.5)
XYZxyz(50.2247, 55.4718, 26.1469)
Luminance0.5547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C679 #7985D2
analogous
#D29979 #D2C679 #B2D279
triadic
#D2C679 #79D2C6 #C679D2
tetradic
#D2C679 #79D299 #7985D2 #D279B2
square
#D2C679 #79D299 #7985D2 #D279B2
split-complementary
#D2C679 #79B2D2 #9979D2
monochromatic
#9C8E34 #C3B34B #D2C679 #E1D9A7 #F1EDD5

Accessibility & contrast

On white

1.74
#D2C679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D2C679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C679
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C679#FFFFFF#000000##000000
##D2C6791.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C273
Deuteranopia (green-blind)
#D7C77C
Tritanopia (blue-blind)
#DEBCB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c679;
/* rgb */ color: rgb(210, 198, 121);
/* oklch */ color: oklch(81.9% 0.099 100.5);
Tailwind
colors: {
  custom: {
    50: '#e1d7a1',
    500: '#d2c679',
    950: '#000000',
  },
}
SCSS
$custom: #d2c679;
$custom-light: #e1d7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c679",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 51.91,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81937,
    "c": 0.09883,
    "h": 100.5
  },
  "luminance": 0.5547
}

Semantic roles & 50–950 ramp

primary
#D2C679
secondary
#4E59A1
accent
#3CBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C679

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

Preview Lab → · Contrast checker → · Palette generator →

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