#D2C67F#D2C67F

#D2C67F is a very light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.092 H 99.8°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D2C67F
RGBrgb(210, 198, 127)
HSLhsl(51, 48%, 66%)
HSVhsv(51, 40%, 82%)
CMYKcmyk(0%, 5.7%, 39.5%, 17.6%)
CIE-LABlab(79.40, -5.96, 37.08)
CIE-LCHlch(79.40, 37.55, 99.13°)
OKLaboklab(82.04% -0.0157 0.0908)
OKLCHoklch(82.04% 0.092 99.8)
XYZxyz(50.6041, 55.6236, 28.1453)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C67F #7F8BD2
analogous
#D29C7F #D2C67F #B4D27F
triadic
#D2C67F #7FD2C6 #C67FD2
tetradic
#D2C67F #7FD29C #7F8BD2 #D27FB4
square
#D2C67F #7FD29C #7F8BD2 #D27FB4
split-complementary
#D2C67F #7FB4D2 #9C7FD2
monochromatic
#9F9038 #C2B252 #D2C67F #E2DAAC #F2EEDA

Accessibility & contrast

On white

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

On black

12.12
#D2C67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C67F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C67F#FFFFFF#000000##000000
##D2C67F1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D6C782
Tritanopia (blue-blind)
#DEBDB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c67f;
/* rgb */ color: rgb(210, 198, 127);
/* oklch */ color: oklch(82.0% 0.092 99.8);
Tailwind
colors: {
  custom: {
    50: '#e1d7a5',
    500: '#d2c67f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c67f;
$custom-light: #e1d7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c67f",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 51.325,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.82035,
    "c": 0.09212,
    "h": 99.8
  },
  "luminance": 0.55622
}

Semantic roles & 50–950 ramp

primary
#D2C67F
secondary
#515DA4
accent
#3FBB2A
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C67F

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

Preview Lab → · Contrast checker → · Palette generator →

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