#D4BD54#D4BD54

#D4BD54 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.8% C 0.127 H 97.0°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D4BD54
RGBrgb(212, 189, 84)
HSLhsl(49, 60%, 58%)
HSVhsv(49, 60%, 83%)
CMYKcmyk(0%, 10.8%, 60.4%, 16.9%)
CIE-LABlab(76.70, -4.32, 54.81)
CIE-LCHlch(76.70, 54.98, 94.50°)
OKLaboklab(79.77% -0.0155 0.1262)
OKLCHoklch(79.77% 0.127 97)
XYZxyz(46.9511, 51.0345, 15.7633)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BD54 #546BD4
analogous
#D47D54 #D4BD54 #ABD454
triadic
#D4BD54 #54D4BD #BD54D4
tetradic
#D4BD54 #54D47D #546BD4 #D454AB
square
#D4BD54 #54D47D #546BD4 #D454AB
split-complementary
#D4BD54 #54ABD4 #7D54D4
monochromatic
#8B7823 #BCA22F #D4BD54 #E0D085 #EDE3B6

Accessibility & contrast

On white

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

On black

11.21
#D4BD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BD54
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BD54#FFFFFF#000000##000000
##D4BD541.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB949
Deuteranopia (green-blind)
#D4C159
Tritanopia (blue-blind)
#E3B0A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4bd54;
/* rgb */ color: rgb(212, 189, 84);
/* oklch */ color: oklch(79.8% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#e4d088',
    500: '#d4bd54',
    950: '#000000',
  },
}
SCSS
$custom: #d4bd54;
$custom-light: #e4d088;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bd54",
  "rgb": {
    "r": 212,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 49.219,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79769,
    "c": 0.12717,
    "h": 97
  },
  "luminance": 0.51032
}

Semantic roles & 50–950 ramp

primary
#D4BD54
secondary
#3B4B91
accent
#61E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16130C
muted
#84837F

Preview Lab

Preview with #D4BD54

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

Preview Lab → · Contrast checker → · Palette generator →

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