#D2BC78#D2BC78

#D2BC78 is a light, moderate yellow. Relative luminance 0.510; OKLCH L 79.9% C 0.091 H 92.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#D2BC78
RGBrgb(210, 188, 120)
HSLhsl(45, 50%, 65%)
HSVhsv(45, 43%, 82%)
CMYKcmyk(0%, 10.5%, 42.9%, 17.6%)
CIE-LABlab(76.69, -1.50, 37.21)
CIE-LCHlch(76.69, 37.24, 92.32°)
OKLaboklab(79.86% -0.0034 0.0907)
OKLCHoklch(79.86% 0.091 92.2)
XYZxyz(47.9530, 51.0260, 25.0887)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC78 #788ED2
analogous
#D28F78 #D2BC78 #BBD278
triadic
#D2BC78 #78D2BC #BC78D2
tetradic
#D2BC78 #78D28F #788ED2 #D278BB
square
#D2BC78 #78D28F #788ED2 #D278BB
split-complementary
#D2BC78 #78BBD2 #8F78D2
monochromatic
#9C8234 #C3A54A #D2BC78 #E1D3A6 #F1EAD4

Accessibility & contrast

On white

1.87
#D2BC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#D2BC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC78
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC78#FFFFFF#000000##000000
##D2BC781.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB973
Deuteranopia (green-blind)
#CFC07A
Tritanopia (blue-blind)
#DFB2AB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d2bc78;
/* rgb */ color: rgb(210, 188, 120);
/* oklch */ color: oklch(79.9% 0.091 92.2);
Tailwind
colors: {
  custom: {
    50: '#e1d0a0',
    500: '#d2bc78',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc78;
$custom-light: #e1d0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc78",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 45.333,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.79863,
    "c": 0.09078,
    "h": 92.2
  },
  "luminance": 0.51024
}

Semantic roles & 50–950 ramp

primary
#D2BC78
secondary
#4D62A1
accent
#4DBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130F
muted
#848380

Preview Lab

Preview with #D2BC78

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

Preview Lab → · Contrast checker → · Palette generator →

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