#D9BD52#D9BD52

#D9BD52 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.2% C 0.129 H 94.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#D9BD52
RGBrgb(217, 189, 82)
HSLhsl(48, 64%, 59%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12.9%, 62.2%, 14.9%)
CIE-LABlab(77.14, -2.34, 56.32)
CIE-LCHlch(77.14, 56.37, 92.38°)
OKLaboklab(80.22% -0.0104 0.129)
OKLCHoklch(80.22% 0.129 94.6)
XYZxyz(48.3380, 51.7585, 15.4253)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BD52 #526ED9
analogous
#D97952 #D9BD52 #B1D952
triadic
#D9BD52 #52D9BD #BD52D9
tetradic
#D9BD52 #52D979 #526ED9 #D952B1
square
#D9BD52 #52D979 #526ED9 #D952B1
split-complementary
#D9BD52 #52B1D9 #7952D9
monochromatic
#917920 #C3A32B #D9BD52 #E4D084 #EFE3B6

Accessibility & contrast

On white

1.85
#D9BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#D9BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BD52
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BD52#FFFFFF#000000##000000
##D9BD521.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E9B0A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d9bd52;
/* rgb */ color: rgb(217, 189, 82);
/* oklch */ color: oklch(80.2% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#e8d087',
    500: '#d9bd52',
    950: '#000000',
  },
}
SCSS
$custom: #d9bd52;
$custom-light: #e8d087;
$custom-dark: #000000;
JSON
{
  "hex": "#d9bd52",
  "rgb": {
    "r": 217,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 47.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80216,
    "c": 0.12946,
    "h": 94.6
  },
  "luminance": 0.51756
}

Semantic roles & 50–950 ramp

primary
#D9BD52
secondary
#394C96
accent
#63E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D9BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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