#D9BF5A#D9BF5A

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

Color values

HEX#D9BF5A
RGBrgb(217, 191, 90)
HSLhsl(48, 63%, 60%)
HSVhsv(48, 59%, 85%)
CMYKcmyk(0%, 12%, 58.5%, 14.9%)
CIE-LABlab(77.73, -2.83, 53.35)
CIE-LCHlch(77.73, 53.42, 93.04°)
OKLaboklab(80.71% -0.0109 0.1237)
OKLCHoklch(80.71% 0.124 95)
XYZxyz(49.0936, 52.7538, 17.2674)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF5A #5A74D9
analogous
#D9805A #D9BF5A #B3D95A
triadic
#D9BF5A #5AD9BF #BF5AD9
tetradic
#D9BF5A #5AD980 #5A74D9 #D95AB3
square
#D9BF5A #5AD980 #5A74D9 #D95AB3
split-complementary
#D9BF5A #5AB3D9 #805AD9
monochromatic
#967E23 #C8A82E #D9BF5A #E4D28C #F0E6BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BF5A#FFFFFF#000000##000000
##D9BF5A1.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)
#D0BB50
Deuteranopia (green-blind)
#D7C45F
Tritanopia (blue-blind)
#E9B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf5a;
/* rgb */ color: rgb(217, 191, 90);
/* oklch */ color: oklch(80.7% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#e8d28c',
    500: '#d9bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf5a;
$custom-light: #e8d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf5a",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 47.717,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80709,
    "c": 0.1242,
    "h": 95
  },
  "luminance": 0.52752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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