#D4B749#D4B749

#D4B749 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.132 H 94.3°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D4B749
RGBrgb(212, 183, 73)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 13.7%, 65.6%, 16.9%)
CIE-LABlab(75.04, -1.90, 57.87)
CIE-LCHlch(75.04, 57.90, 91.88°)
OKLaboklab(78.43% -0.0099 0.1311)
OKLCHoklch(78.43% 0.132 94.3)
XYZxyz(45.2896, 48.3474, 13.2485)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B749 #4966D4
analogous
#D47149 #D4B749 #ABD449
triadic
#D4B749 #49D4B7 #B749D4
tetradic
#D4B749 #49D471 #4966D4 #D449AB
square
#D4B749 #49D471 #4966D4 #D449AB
split-complementary
#D4B749 #49ABD4 #7149D4
monochromatic
#846F1F #B5982B #D4B749 #E0CB7B #EBDEAC

Accessibility & contrast

On white

1.97
#D4B749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D4B749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B749
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B749#FFFFFF#000000##000000
##D4B7491.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43C
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E4A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b749;
/* rgb */ color: rgb(212, 183, 73);
/* oklch */ color: oklch(78.4% 0.132 94.3);
Tailwind
colors: {
  custom: {
    50: '#e5cc81',
    500: '#d4b749',
    950: '#000000',
  },
}
SCSS
$custom: #d4b749;
$custom-light: #e5cc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b749",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 73
  },
  "hsl": {
    "h": 47.482,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78428,
    "c": 0.13151,
    "h": 94.3
  },
  "luminance": 0.48345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B749

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

Preview Lab → · Contrast checker → · Palette generator →

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