#D4B647#D4B647

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

Color values

HEX#D4B647
RGBrgb(212, 182, 71)
HSLhsl(47, 62%, 55%)
HSVhsv(47, 67%, 83%)
CMYKcmyk(0%, 14.2%, 66.5%, 16.9%)
CIE-LABlab(74.77, -1.49, 58.43)
CIE-LCHlch(74.77, 58.45, 91.46°)
OKLaboklab(78.21% -0.009 0.132)
OKLCHoklch(78.21% 0.132 93.9)
XYZxyz(45.0189, 47.9103, 12.8364)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B647 #4765D4
analogous
#D46F47 #D4B647 #ABD447
triadic
#D4B647 #47D4B6 #B647D4
tetradic
#D4B647 #47D46F #4765D4 #D447AB
square
#D4B647 #47D46F #4765D4 #D447AB
split-complementary
#D4B647 #47ABD4 #6F47D4
monochromatic
#826D1E #B4962A #D4B647 #E0CA79 #EBDDAA

Accessibility & contrast

On white

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

On black

10.58
#D4B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B647
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B647#FFFFFF#000000##000000
##D4B6471.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b647;
/* rgb */ color: rgb(212, 182, 71);
/* oklch */ color: oklch(78.2% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#e5cb80',
    500: '#d4b647',
    950: '#000000',
  },
}
SCSS
$custom: #d4b647;
$custom-light: #e5cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b647",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 47.234,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78205,
    "c": 0.13232,
    "h": 93.9
  },
  "luminance": 0.47908
}

Semantic roles & 50–950 ramp

primary
#D4B647
secondary
#9EABD9
accent
#65E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B647

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

Preview Lab → · Contrast checker → · Palette generator →

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