#D9BE52#D9BE52

#D9BE52 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.130 H 95.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D9BE52
RGBrgb(217, 190, 82)
HSLhsl(48, 64%, 59%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12.4%, 62.2%, 14.9%)
CIE-LABlab(77.39, -2.86, 56.60)
CIE-LCHlch(77.39, 56.67, 92.90°)
OKLaboklab(80.42% -0.0119 0.1296)
OKLCHoklch(80.42% 0.13 95.3)
XYZxyz(48.5539, 52.1902, 15.4972)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9BE52 #526DD9
analogous
#D97A52 #D9BE52 #B0D952
triadic
#D9BE52 #52D9BE #BE52D9
tetradic
#D9BE52 #52D97A #526DD9 #D952B0
square
#D9BE52 #52D97A #526DD9 #D952B0
split-complementary
#D9BE52 #52B0D9 #7A52D9
monochromatic
#917A20 #C3A52B #D9BE52 #E4D184 #EFE4B6

Accessibility & contrast

On white

1.84
#D9BE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D9BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9BE52
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9BE52#FFFFFF#000000##000000
##D9BE521.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#E9B1A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d9be52;
/* rgb */ color: rgb(217, 190, 82);
/* oklch */ color: oklch(80.4% 0.130 95.3);
Tailwind
colors: {
  custom: {
    50: '#e8d187',
    500: '#d9be52',
    950: '#000000',
  },
}
SCSS
$custom: #d9be52;
$custom-light: #e8d187;
$custom-dark: #000000;
JSON
{
  "hex": "#d9be52",
  "rgb": {
    "r": 217,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 48,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8042,
    "c": 0.13019,
    "h": 95.3
  },
  "luminance": 0.52188
}

Semantic roles & 50–950 ramp

primary
#D9BE52
secondary
#394C96
accent
#62E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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