#D4B847#D4B847

#D4B847 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.134 H 95.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D4B847
RGBrgb(212, 184, 71)
HSLhsl(48, 62%, 55%)
HSVhsv(48, 67%, 83%)
CMYKcmyk(0%, 13.2%, 66.5%, 16.9%)
CIE-LABlab(75.29, -2.54, 58.97)
CIE-LCHlch(75.29, 59.03, 92.46°)
OKLaboklab(78.61% -0.012 0.1332)
OKLCHoklch(78.61% 0.134 95.1)
XYZxyz(45.4314, 48.7353, 12.9739)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B847 #4763D4
analogous
#D47147 #D4B847 #AAD447
triadic
#D4B847 #47D4B8 #B847D4
tetradic
#D4B847 #47D471 #4763D4 #D447AA
square
#D4B847 #47D471 #4763D4 #D447AA
split-complementary
#D4B847 #47AAD4 #7147D4
monochromatic
#826E1E #B4982A #D4B847 #E0CB79 #EBDEAA

Accessibility & contrast

On white

1.95
#D4B847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#D4B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B847
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B847#FFFFFF#000000##000000
##D4B8471.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#E4AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b847;
/* rgb */ color: rgb(212, 184, 71);
/* oklch */ color: oklch(78.6% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#e5cd80',
    500: '#d4b847',
    950: '#000000',
  },
}
SCSS
$custom: #d4b847;
$custom-light: #e5cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b847",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 48.085,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.13371,
    "h": 95.1
  },
  "luminance": 0.48733
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B847

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

Preview Lab → · Contrast checker → · Palette generator →

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