#D4B549#D4B549

#D4B549 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.130 H 93.0°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D4B549
RGBrgb(212, 181, 73)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 14.6%, 65.6%, 16.9%)
CIE-LABlab(74.53, -0.85, 57.32)
CIE-LCHlch(74.53, 57.32, 90.85°)
OKLaboklab(78.02% -0.0069 0.13)
OKLCHoklch(78.02% 0.13 93)
XYZxyz(44.8800, 47.5283, 13.1120)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B549 #4968D4
analogous
#D46F49 #D4B549 #ADD449
triadic
#D4B549 #49D4B5 #B549D4
tetradic
#D4B549 #49D46F #4968D4 #D449AD
square
#D4B549 #49D46F #4968D4 #D449AD
split-complementary
#D4B549 #49ADD4 #6F49D4
monochromatic
#846D1F #B5962B #D4B549 #E0C97B #EBDDAC

Accessibility & contrast

On white

2.00
#D4B549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#D4B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B549
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B549#FFFFFF#000000##000000
##D4B5491.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23C
Deuteranopia (green-blind)
#CFBB4E
Tritanopia (blue-blind)
#E4A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b549;
/* rgb */ color: rgb(212, 181, 73);
/* oklch */ color: oklch(78.0% 0.130 93.0);
Tailwind
colors: {
  custom: {
    50: '#e5ca81',
    500: '#d4b549',
    950: '#000000',
  },
}
SCSS
$custom: #d4b549;
$custom-light: #e5ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b549",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 46.619,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78019,
    "c": 0.13015,
    "h": 93
  },
  "luminance": 0.47526
}

Semantic roles & 50–950 ramp

primary
#D4B549
secondary
#A0ACD9
accent
#67E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B549

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

Preview Lab → · Contrast checker → · Palette generator →

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