#D9BC52#D9BC52

#D9BC52 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.129 H 94.0°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#D9BC52
RGBrgb(217, 188, 82)
HSLhsl(47, 64%, 59%)
HSVhsv(47, 62%, 85%)
CMYKcmyk(0%, 13.4%, 62.2%, 14.9%)
CIE-LABlab(76.88, -1.82, 56.04)
CIE-LCHlch(76.88, 56.07, 91.86°)
OKLaboklab(80.01% -0.0089 0.1284)
OKLCHoklch(80.01% 0.129 94)
XYZxyz(48.1237, 51.3298, 15.3538)
Luminance0.5133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BC52 #526FD9
analogous
#D97852 #D9BC52 #B2D952
triadic
#D9BC52 #52D9BC #BC52D9
tetradic
#D9BC52 #52D978 #526FD9 #D952B2
square
#D9BC52 #52D978 #526FD9 #D952B2
split-complementary
#D9BC52 #52B2D9 #7852D9
monochromatic
#917920 #C3A22B #D9BC52 #E4CF84 #EFE3B6

Accessibility & contrast

On white

1.86
#D9BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#D9BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BC52
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BC52#FFFFFF#000000##000000
##D9BC521.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D5C257
Tritanopia (blue-blind)
#E9AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bc52;
/* rgb */ color: rgb(217, 188, 82);
/* oklch */ color: oklch(80.0% 0.129 94.0);
Tailwind
colors: {
  custom: {
    50: '#e8cf87',
    500: '#d9bc52',
    950: '#000000',
  },
}
SCSS
$custom: #d9bc52;
$custom-light: #e8cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bc52",
  "rgb": {
    "r": 217,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 47.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80012,
    "c": 0.12875,
    "h": 94
  },
  "luminance": 0.51327
}

Semantic roles & 50–950 ramp

primary
#D9BC52
secondary
#394D96
accent
#65E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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