#D8BE52#D8BE52

#D8BE52 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.130 H 95.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#D8BE52
RGBrgb(216, 190, 82)
HSLhsl(48, 63%, 58%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12%, 62%, 15.3%)
CIE-LABlab(77.30, -3.29, 56.48)
CIE-LCHlch(77.30, 56.57, 93.33°)
OKLaboklab(80.33% -0.0131 0.1294)
OKLCHoklch(80.33% 0.13 95.8)
XYZxyz(48.2575, 52.0374, 15.4833)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BE52 #526CD8
analogous
#D87B52 #D8BE52 #AFD852
triadic
#D8BE52 #52D8BE #BE52D8
tetradic
#D8BE52 #52D87B #526CD8 #D852AF
square
#D8BE52 #52D87B #526CD8 #D852AF
split-complementary
#D8BE52 #52AFD8 #7B52D8
monochromatic
#8F7A20 #C1A42C #D8BE52 #E3D184 #EFE4B6

Accessibility & contrast

On white

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

On black

11.41
#D8BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BE52
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BE52#FFFFFF#000000##000000
##D8BE521.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8be52;
/* rgb */ color: rgb(216, 190, 82);
/* oklch */ color: oklch(80.3% 0.130 95.8);
Tailwind
colors: {
  custom: {
    50: '#e7d187',
    500: '#d8be52',
    950: '#000000',
  },
}
SCSS
$custom: #d8be52;
$custom-light: #e7d187;
$custom-dark: #000000;
JSON
{
  "hex": "#d8be52",
  "rgb": {
    "r": 216,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 48.358,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80326,
    "c": 0.13006,
    "h": 95.8
  },
  "luminance": 0.52035
}

Semantic roles & 50–950 ramp

primary
#D8BE52
secondary
#394B95
accent
#62E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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