#D4B949#D4B949

#D4B949 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.133 H 95.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D4B949
RGBrgb(212, 185, 73)
HSLhsl(48, 62%, 56%)
HSVhsv(48, 66%, 83%)
CMYKcmyk(0%, 12.7%, 65.6%, 16.9%)
CIE-LABlab(75.56, -2.94, 58.42)
CIE-LCHlch(75.56, 58.49, 92.88°)
OKLaboklab(78.84% -0.0129 0.1323)
OKLCHoklch(78.84% 0.133 95.6)
XYZxyz(45.7051, 49.1783, 13.3870)
Luminance0.4918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B949 #4964D4
analogous
#D47349 #D4B949 #AAD449
triadic
#D4B949 #49D4B9 #B949D4
tetradic
#D4B949 #49D473 #4964D4 #D449AA
square
#D4B949 #49D473 #4964D4 #D449AA
split-complementary
#D4B949 #49AAD4 #7349D4
monochromatic
#84701F #B59A2B #D4B949 #E0CC7B #EBDFAC

Accessibility & contrast

On white

1.94
#D4B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#D4B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B949
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B949#FFFFFF#000000##000000
##D4B9491.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53B
Deuteranopia (green-blind)
#D2BE4F
Tritanopia (blue-blind)
#E4ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b949;
/* rgb */ color: rgb(212, 185, 73);
/* oklch */ color: oklch(78.8% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e5cd81',
    500: '#d4b949',
    950: '#000000',
  },
}
SCSS
$custom: #d4b949;
$custom-light: #e5cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b949",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 48.345,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78838,
    "c": 0.13294,
    "h": 95.6
  },
  "luminance": 0.49176
}

Semantic roles & 50–950 ramp

primary
#D4B949
secondary
#A0ABD9
accent
#62E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B949

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

Preview Lab → · Contrast checker → · Palette generator →

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