#D9BF5B#D9BF5B

#D9BF5B is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.123 H 94.9°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D9BF5B
RGBrgb(217, 191, 91)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 58%, 85%)
CMYKcmyk(0%, 12%, 58.1%, 14.9%)
CIE-LABlab(77.74, -2.76, 52.89)
CIE-LCHlch(77.74, 52.97, 92.99°)
OKLaboklab(80.72% -0.0105 0.1229)
OKLCHoklch(80.72% 0.123 94.9)
XYZxyz(49.1364, 52.7710, 17.4931)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF5B #5B75D9
analogous
#D9805B #D9BF5B #B4D95B
triadic
#D9BF5B #5BD9BF #BF5BD9
tetradic
#D9BF5B #5BD980 #5B75D9 #D95BB4
square
#D9BF5B #5BD980 #5B75D9 #D95BB4
split-complementary
#D9BF5B #5BB4D9 #805BD9
monochromatic
#977F23 #C8A92E #D9BF5B #E5D28D #F0E6BE

Accessibility & contrast

On white

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

On black

11.55
#D9BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF5B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF5B#FFFFFF#000000##000000
##D9BF5B1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB51
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#E9B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf5b;
/* rgb */ color: rgb(217, 191, 91);
/* oklch */ color: oklch(80.7% 0.123 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8d28d',
    500: '#d9bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf5b;
$custom-light: #e8d28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf5b",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 47.619,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80721,
    "c": 0.12332,
    "h": 94.9
  },
  "luminance": 0.52769
}

Semantic roles & 50–950 ramp

primary
#D9BF5B
secondary
#3D509B
accent
#3FCA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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