#D4BE52#D4BE52

#D4BE52 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.130 H 97.8°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#D4BE52
RGBrgb(212, 190, 82)
HSLhsl(50, 60%, 58%)
HSVhsv(50, 61%, 83%)
CMYKcmyk(0%, 10.4%, 61.3%, 16.9%)
CIE-LABlab(76.94, -4.97, 55.98)
CIE-LCHlch(76.94, 56.20, 95.08°)
OKLaboklab(79.96% -0.0177 0.1284)
OKLCHoklch(79.96% 0.13 97.8)
XYZxyz(47.0898, 51.4353, 15.4286)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BE52 #5268D4
analogous
#D47D52 #D4BE52 #A9D452
triadic
#D4BE52 #52D4BE #BE52D4
tetradic
#D4BE52 #52D47D #5268D4 #D452A9
square
#D4BE52 #52D47D #5268D4 #D452A9
split-complementary
#D4BE52 #52A9D4 #7D52D4
monochromatic
#897822 #BAA32E #D4BE52 #E0D083 #ECE3B4

Accessibility & contrast

On white

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

On black

11.29
#D4BE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BE52
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BE52#FFFFFF#000000##000000
##D4BE521.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#E4B1A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d4be52;
/* rgb */ color: rgb(212, 190, 82);
/* oklch */ color: oklch(80.0% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#e4d187',
    500: '#d4be52',
    950: '#000000',
  },
}
SCSS
$custom: #d4be52;
$custom-light: #e4d187;
$custom-dark: #000000;
JSON
{
  "hex": "#d4be52",
  "rgb": {
    "r": 212,
    "g": 190,
    "b": 82
  },
  "hsl": {
    "h": 49.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79955,
    "c": 0.12965,
    "h": 97.8
  },
  "luminance": 0.51433
}

Semantic roles & 50–950 ramp

primary
#D4BE52
secondary
#3B4990
accent
#5FE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4BE52

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

Preview Lab → · Contrast checker → · Palette generator →

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