#D4B649#D4B649

#D4B649 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.131 H 93.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D4B649
RGBrgb(212, 182, 73)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 14.2%, 65.6%, 16.9%)
CIE-LABlab(74.78, -1.37, 57.59)
CIE-LCHlch(74.78, 57.61, 91.37°)
OKLaboklab(78.22% -0.0084 0.1306)
OKLCHoklch(78.22% 0.131 93.7)
XYZxyz(45.0841, 47.9364, 13.1800)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B649 #4967D4
analogous
#D47049 #D4B649 #ADD449
triadic
#D4B649 #49D4B6 #B649D4
tetradic
#D4B649 #49D470 #4967D4 #D449AD
square
#D4B649 #49D470 #4967D4 #D449AD
split-complementary
#D4B649 #49ADD4 #7049D4
monochromatic
#846E1F #B5972B #D4B649 #E0CA7B #EBDEAC

Accessibility & contrast

On white

1.98
#D4B649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#D4B649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B649
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B649#FFFFFF#000000##000000
##D4B6491.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33C
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#E4A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b649;
/* rgb */ color: rgb(212, 182, 73);
/* oklch */ color: oklch(78.2% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e5cb81',
    500: '#d4b649',
    950: '#000000',
  },
}
SCSS
$custom: #d4b649;
$custom-light: #e5cb81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b649",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 73
  },
  "hsl": {
    "h": 47.05,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.13083,
    "h": 93.7
  },
  "luminance": 0.47934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B649

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

Preview Lab → · Contrast checker → · Palette generator →

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