#D9BF51#D9BF51

#D9BF51 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.132 H 96.0°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D9BF51
RGBrgb(217, 191, 81)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 12%, 62.7%, 14.9%)
CIE-LABlab(77.64, -3.45, 57.32)
CIE-LCHlch(77.64, 57.42, 93.44°)
OKLaboklab(80.61% -0.0137 0.131)
OKLCHoklch(80.61% 0.132 96)
XYZxyz(48.7334, 52.6098, 15.3707)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF51 #516BD9
analogous
#D97B51 #D9BF51 #AFD951
triadic
#D9BF51 #51D9BF #BF51D9
tetradic
#D9BF51 #51D97B #516BD9 #D951AF
square
#D9BF51 #51D97B #516BD9 #D951AF
split-complementary
#D9BF51 #51AFD9 #7B51D9
monochromatic
#907B1F #C2A52A #D9BF51 #E4D183 #EFE4B5

Accessibility & contrast

On white

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

On black

11.52
#D9BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BF51
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BF51#FFFFFF#000000##000000
##D9BF511.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D8C356
Tritanopia (blue-blind)
#E9B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf51;
/* rgb */ color: rgb(217, 191, 81);
/* oklch */ color: oklch(80.6% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#e8d286',
    500: '#d9bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf51;
$custom-light: #e8d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf51",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 48.529,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80614,
    "c": 0.13175,
    "h": 96
  },
  "luminance": 0.52607
}

Semantic roles & 50–950 ramp

primary
#D9BF51
secondary
#394B95
accent
#60E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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