#D2BF5B#D2BF5B

#D2BF5B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.123 H 98.7°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D2BF5B
RGBrgb(210, 191, 91)
HSLhsl(50, 57%, 59%)
HSVhsv(50, 57%, 82%)
CMYKcmyk(0%, 9%, 56.7%, 17.6%)
CIE-LABlab(77.11, -5.69, 52.01)
CIE-LCHlch(77.11, 52.32, 96.24°)
OKLaboklab(80.08% -0.0185 0.1211)
OKLCHoklch(80.08% 0.123 98.7)
XYZxyz(47.0992, 51.7205, 17.3976)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BF5B #5B6ED2
analogous
#D2845B #D2BF5B #AAD25B
triadic
#D2BF5B #5BD2BF #BF5BD2
tetradic
#D2BF5B #5BD284 #5B6ED2 #D25BAA
square
#D2BF5B #5BD284 #5B6ED2 #D25BAA
split-complementary
#D2BF5B #5BAAD2 #845BD2
monochromatic
#8C7C26 #BCA634 #D2BF5B #DFD28B #ECE4BB

Accessibility & contrast

On white

1.85
#D2BF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D2BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BF5B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BF5B#FFFFFF#000000##000000
##D2BF5B1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#E1B3A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2bf5b;
/* rgb */ color: rgb(210, 191, 91);
/* oklch */ color: oklch(80.1% 0.123 98.7);
Tailwind
colors: {
  custom: {
    50: '#e2d28c',
    500: '#d2bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d2bf5b;
$custom-light: #e2d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bf5b",
  "rgb": {
    "r": 210,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 50.42,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80077,
    "c": 0.12253,
    "h": 98.7
  },
  "luminance": 0.51719
}

Semantic roles & 50–950 ramp

primary
#D2BF5B
secondary
#3F4C92
accent
#60E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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