#D2C77D#D2C77D

#D2C77D is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.095 H 100.9°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D2C77D
RGBrgb(210, 199, 125)
HSLhsl(52, 49%, 66%)
HSVhsv(52, 40%, 82%)
CMYKcmyk(0%, 5.2%, 40.5%, 17.6%)
CIE-LABlab(79.63, -6.69, 38.40)
CIE-LCHlch(79.63, 38.97, 99.88°)
OKLaboklab(82.21% -0.018 0.0937)
OKLCHoklch(82.21% 0.095 100.9)
XYZxyz(50.7044, 56.0306, 27.5421)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C77D #7D88D2
analogous
#D29C7D #D2C77D #B2D27D
triadic
#D2C77D #7DD2C7 #C77DD2
tetradic
#D2C77D #7DD29C #7D88D2 #D27DB2
square
#D2C77D #7DD29C #7D88D2 #D27DB2
split-complementary
#D2C77D #7DB2D2 #9C7DD2
monochromatic
#9E9137 #C2B350 #D2C77D #E2DBAA #F1EED8

Accessibility & contrast

On white

1.72
#D2C77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D2C77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C77D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C77D#FFFFFF#000000##000000
##D2C77D1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C377
Deuteranopia (green-blind)
#D7C780
Tritanopia (blue-blind)
#DEBDB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c77d;
/* rgb */ color: rgb(210, 199, 125);
/* oklch */ color: oklch(82.2% 0.095 100.9);
Tailwind
colors: {
  custom: {
    50: '#e1d7a3',
    500: '#d2c77d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c77d;
$custom-light: #e1d7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c77d",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 52.235,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82209,
    "c": 0.0954,
    "h": 100.9
  },
  "luminance": 0.56029
}

Semantic roles & 50–950 ramp

primary
#D2C77D
secondary
#505BA3
accent
#3DBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C77D

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

Preview Lab → · Contrast checker → · Palette generator →

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