#D9BF52#D9BF52

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

Color values

HEX#D9BF52
RGBrgb(217, 191, 82)
HSLhsl(48, 64%, 59%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12%, 62.2%, 14.9%)
CIE-LABlab(77.65, -3.38, 56.89)
CIE-LCHlch(77.65, 56.99, 93.40°)
OKLaboklab(80.62% -0.0134 0.1303)
OKLCHoklch(80.62% 0.131 95.9)
XYZxyz(48.7712, 52.6249, 15.5697)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BF52 #526CD9
analogous
#D97B52 #D9BF52 #B0D952
triadic
#D9BF52 #52D9BF #BF52D9
tetradic
#D9BF52 #52D97B #526CD9 #D952B0
square
#D9BF52 #52D97B #526CD9 #D952B0
split-complementary
#D9BF52 #52B0D9 #7B52D9
monochromatic
#917B20 #C3A62B #D9BF52 #E4D284 #EFE4B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9BF52#FFFFFF#000000##000000
##D9BF521.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)
#D1BB46
Deuteranopia (green-blind)
#D8C357
Tritanopia (blue-blind)
#E9B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d9bf52;
/* rgb */ color: rgb(217, 191, 82);
/* oklch */ color: oklch(80.6% 0.131 95.9);
Tailwind
colors: {
  custom: {
    50: '#e8d287',
    500: '#d9bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d9bf52;
$custom-light: #e8d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bf52",
  "rgb": {
    "r": 217,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 48.444,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80624,
    "c": 0.13094,
    "h": 95.9
  },
  "luminance": 0.52623
}

Semantic roles & 50–950 ramp

primary
#D9BF52
secondary
#394B96
accent
#61E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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