#D4B747#D4B747

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

Color values

HEX#D4B747
RGBrgb(212, 183, 71)
HSLhsl(48, 62%, 55%)
HSVhsv(48, 67%, 83%)
CMYKcmyk(0%, 13.7%, 66.5%, 16.9%)
CIE-LABlab(75.03, -2.01, 58.70)
CIE-LCHlch(75.03, 58.74, 91.96°)
OKLaboklab(78.41% -0.0105 0.1326)
OKLCHoklch(78.41% 0.133 94.5)
XYZxyz(45.2244, 48.3213, 12.9049)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B747 #4764D4
analogous
#D47147 #D4B747 #AAD447
triadic
#D4B747 #47D4B7 #B747D4
tetradic
#D4B747 #47D471 #4764D4 #D447AA
square
#D4B747 #47D471 #4764D4 #D447AA
split-complementary
#D4B747 #47AAD4 #7147D4
monochromatic
#826E1E #B4972A #D4B747 #E0CA79 #EBDEAA

Accessibility & contrast

On white

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

On black

10.66
#D4B747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B747
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B747#FFFFFF#000000##000000
##D4B7471.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b747;
/* rgb */ color: rgb(212, 183, 71);
/* oklch */ color: oklch(78.4% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#e5cc80',
    500: '#d4b747',
    950: '#000000',
  },
}
SCSS
$custom: #d4b747;
$custom-light: #e5cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b747",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 47.66,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78409,
    "c": 0.133,
    "h": 94.5
  },
  "luminance": 0.48319
}

Semantic roles & 50–950 ramp

primary
#D4B747
secondary
#9EAAD9
accent
#64E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B747

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

Preview Lab → · Contrast checker → · Palette generator →

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