#D2C07D#D2C07D

#D2C07D is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.089 H 94.9°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D2C07D
RGBrgb(210, 192, 125)
HSLhsl(47, 49%, 66%)
HSVhsv(47, 40%, 82%)
CMYKcmyk(0%, 8.6%, 40.5%, 17.6%)
CIE-LABlab(77.81, -3.06, 36.06)
CIE-LCHlch(77.81, 36.19, 94.85°)
OKLaboklab(80.77% -0.0075 0.0883)
OKLCHoklch(80.77% 0.089 94.9)
XYZxyz(49.1307, 52.8832, 27.0175)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C07D #7D8FD2
analogous
#D2957D #D2C07D #B9D27D
triadic
#D2C07D #7DD2C0 #C07DD2
tetradic
#D2C07D #7DD295 #7D8FD2 #D27DB9
square
#D2C07D #7DD295 #7D8FD2 #D27DB9
split-complementary
#D2C07D #7DB9D2 #957DD2
monochromatic
#9E8837 #C2AA50 #D2C07D #E2D6AA #F1ECD8

Accessibility & contrast

On white

1.81
#D2C07D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D2C07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C07D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C07D#FFFFFF#000000##000000
##D2C07D1.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#D2C37F
Tritanopia (blue-blind)
#DEB6AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c07d;
/* rgb */ color: rgb(210, 192, 125);
/* oklch */ color: oklch(80.8% 0.089 94.9);
Tailwind
colors: {
  custom: {
    50: '#e1d2a3',
    500: '#d2c07d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c07d;
$custom-light: #e1d2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c07d",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 125
  },
  "hsl": {
    "h": 47.294,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80765,
    "c": 0.08865,
    "h": 94.9
  },
  "luminance": 0.52882
}

Semantic roles & 50–950 ramp

primary
#D2C07D
secondary
#5062A3
accent
#49BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C07D

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

Preview Lab → · Contrast checker → · Palette generator →

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