#D2BF78#D2BF78

#D2BF78 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.5% C 0.093 H 94.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D2BF78
RGBrgb(210, 191, 120)
HSLhsl(47, 50%, 65%)
HSVhsv(47, 43%, 82%)
CMYKcmyk(0%, 9%, 42.9%, 17.6%)
CIE-LABlab(77.47, -3.07, 38.20)
CIE-LCHlch(77.47, 38.32, 94.60°)
OKLaboklab(80.48% -0.008 0.093)
OKLCHoklch(80.48% 0.093 94.9)
XYZxyz(48.6005, 52.3210, 25.3046)
Luminance0.5232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF78 #788BD2
analogous
#D29278 #D2BF78 #B8D278
triadic
#D2BF78 #78D2BF #BF78D2
tetradic
#D2BF78 #78D292 #788BD2 #D278B8
square
#D2BF78 #78D292 #788BD2 #D278B8
split-complementary
#D2BF78 #78B8D2 #9278D2
monochromatic
#9C8634 #C3A94A #D2BF78 #E1D5A6 #F1EBD4

Accessibility & contrast

On white

1.83
#D2BF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#D2BF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF78
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF78#FFFFFF#000000##000000
##D2BF781.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC73
Deuteranopia (green-blind)
#D2C27B
Tritanopia (blue-blind)
#DFB5AD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2bf78;
/* rgb */ color: rgb(210, 191, 120);
/* oklch */ color: oklch(80.5% 0.093 94.9);
Tailwind
colors: {
  custom: {
    50: '#e1d2a0',
    500: '#d2bf78',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf78;
$custom-light: #e1d2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf78",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 120
  },
  "hsl": {
    "h": 47.333,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80477,
    "c": 0.09331,
    "h": 94.9
  },
  "luminance": 0.52319
}

Semantic roles & 50–950 ramp

primary
#D2BF78
secondary
#4D5FA1
accent
#48BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2BF78

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

Preview Lab → · Contrast checker → · Palette generator →

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