#D9BF5F#D9BF5F

#D9BF5F is a light, moderate yellow. Relative luminance 0.528; OKLCH L 80.8% C 0.120 H 94.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D9BF5F
RGBrgb(217, 191, 95)
HSLhsl(47, 62%, 61%)
HSVhsv(47, 56%, 85%)
CMYKcmyk(0%, 12%, 56.2%, 14.9%)
CIE-LABlab(77.78, -2.46, 51.07)
CIE-LCHlch(77.78, 51.13, 92.76°)
OKLaboklab(80.77% -0.0092 0.1194)
OKLCHoklch(80.77% 0.12 94.4)
XYZxyz(49.3136, 52.8418, 18.4262)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF5F #5F79D9
analogous
#D9825F #D9BF5F #B6D95F
triadic
#D9BF5F #5FD9BF #BF5FD9
tetradic
#D9BF5F #5FD982 #5F79D9 #D95FB6
square
#D9BF5F #5FD982 #5F79D9 #D95FB6
split-complementary
#D9BF5F #5FB6D9 #825FD9
monochromatic
#998024 #CBAA30 #D9BF5F #E5D390 #F0E7C2

Accessibility & contrast

On white

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

On black

11.57
#D9BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF5F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF5F#FFFFFF#000000##000000
##D9BF5F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D7C463
Tritanopia (blue-blind)
#E8B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf5f;
/* rgb */ color: rgb(217, 191, 95);
/* oklch */ color: oklch(80.8% 0.120 94.4);
Tailwind
colors: {
  custom: {
    50: '#e7d28f',
    500: '#d9bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf5f;
$custom-light: #e7d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf5f",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 47.213,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80767,
    "c": 0.11973,
    "h": 94.4
  },
  "luminance": 0.5284
}

Semantic roles & 50–950 ramp

primary
#D9BF5F
secondary
#3F539E
accent
#41C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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