#D2C775#D2C775

#D2C775 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.104 H 101.7°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#D2C775
RGBrgb(210, 199, 117)
HSLhsl(53, 51%, 64%)
HSVhsv(53, 44%, 82%)
CMYKcmyk(0%, 5.2%, 44.3%, 17.6%)
CIE-LABlab(79.52, -7.52, 42.29)
CIE-LCHlch(79.52, 42.95, 100.08°)
OKLaboklab(82.08% -0.0211 0.102)
OKLCHoklch(82.08% 0.104 101.7)
XYZxyz(50.2138, 55.8344, 24.9582)
Luminance0.5583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C775 #7580D2
analogous
#D29975 #D2C775 #AFD275
triadic
#D2C775 #75D2C7 #C775D2
tetradic
#D2C775 #75D299 #7580D2 #D275AF
square
#D2C775 #75D299 #7580D2 #D275AF
split-complementary
#D2C775 #75AFD2 #9975D2
monochromatic
#9A8E32 #C3B447 #D2C775 #E1DAA3 #F0ECD1

Accessibility & contrast

On white

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

On black

12.17
#D2C775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C775
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C775#FFFFFF#000000##000000
##D2C7751.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26E
Deuteranopia (green-blind)
#D8C778
Tritanopia (blue-blind)
#DEBDB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c775;
/* rgb */ color: rgb(210, 199, 117);
/* oklch */ color: oklch(82.1% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#e1d79e',
    500: '#d2c775',
    950: '#000000',
  },
}
SCSS
$custom: #d2c775;
$custom-light: #e1d79e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c775",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 117
  },
  "hsl": {
    "h": 52.903,
    "s": 50.82,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82084,
    "c": 0.10419,
    "h": 101.7
  },
  "luminance": 0.55833
}

Semantic roles & 50–950 ramp

primary
#D2C775
secondary
#4C569F
accent
#39BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D2C775

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

Preview Lab → · Contrast checker → · Palette generator →

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