#D2BF81#D2BF81

#D2BF81 is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.083 H 93.0°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D2BF81
RGBrgb(210, 191, 129)
HSLhsl(46, 47%, 66%)
HSVhsv(46, 39%, 82%)
CMYKcmyk(0%, 9%, 38.6%, 17.6%)
CIE-LABlab(77.61, -2.10, 33.73)
CIE-LCHlch(77.61, 33.80, 93.56°)
OKLaboklab(80.63% -0.0044 0.0832)
OKLCHoklch(80.63% 0.083 93)
XYZxyz(49.1726, 52.5499, 28.3175)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF81 #8194D2
analogous
#D29781 #D2BF81 #BDD281
triadic
#D2BF81 #81D2BF #BF81D2
tetradic
#D2BF81 #81D297 #8194D2 #D281BD
square
#D2BF81 #81D297 #8194D2 #D281BD
split-complementary
#D2BF81 #81BDD2 #9781D2
monochromatic
#A08839 #C2A854 #D2BF81 #E2D6AE #F2EDDB

Accessibility & contrast

On white

1.82
#D2BF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#D2BF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF81
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF81#FFFFFF#000000##000000
##D2BF811.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bf81;
/* rgb */ color: rgb(210, 191, 129);
/* oklch */ color: oklch(80.6% 0.083 93.0);
Tailwind
colors: {
  custom: {
    50: '#e1d2a6',
    500: '#d2bf81',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf81;
$custom-light: #e1d2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf81",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 129
  },
  "hsl": {
    "h": 45.926,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80629,
    "c": 0.08327,
    "h": 93
  },
  "luminance": 0.52548
}

Semantic roles & 50–950 ramp

primary
#D2BF81
secondary
#5366A5
accent
#4DBB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2BF81

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

Preview Lab → · Contrast checker → · Palette generator →

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