#D4BD57#D4BD57

#D4BD57 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.8% C 0.125 H 96.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D4BD57
RGBrgb(212, 189, 87)
HSLhsl(49, 59%, 59%)
HSVhsv(49, 59%, 83%)
CMYKcmyk(0%, 10.8%, 59%, 16.9%)
CIE-LABlab(76.73, -4.11, 53.48)
CIE-LCHlch(76.73, 53.63, 94.39°)
OKLaboklab(79.8% -0.0146 0.1237)
OKLCHoklch(79.8% 0.125 96.7)
XYZxyz(47.0712, 51.0825, 16.3955)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD57 #576ED4
analogous
#D47E57 #D4BD57 #ACD457
triadic
#D4BD57 #57D4BD #BD57D4
tetradic
#D4BD57 #57D47E #576ED4 #D457AC
square
#D4BD57 #57D47E #576ED4 #D457AC
split-complementary
#D4BD57 #57ACD4 #7E57D4
monochromatic
#8D7924 #BDA330 #D4BD57 #E0D088 #EDE3B8

Accessibility & contrast

On white

1.87
#D4BD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#D4BD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD57
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD57#FFFFFF#000000##000000
##D4BD571.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94C
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#E3B0A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bd57;
/* rgb */ color: rgb(212, 189, 87);
/* oklch */ color: oklch(79.8% 0.125 96.7);
Tailwind
colors: {
  custom: {
    50: '#e4d08a',
    500: '#d4bd57',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd57;
$custom-light: #e4d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd57",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 48.96,
    "s": 59.242,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79802,
    "c": 0.1246,
    "h": 96.7
  },
  "luminance": 0.5108
}

Semantic roles & 50–950 ramp

primary
#D4BD57
secondary
#3D4C93
accent
#62E245
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BD57

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

Preview Lab → · Contrast checker → · Palette generator →

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