#D4B147#D4B147

#D4B147 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.2% C 0.129 H 90.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#D4B147
RGBrgb(212, 177, 71)
HSLhsl(45, 62%, 55%)
HSVhsv(45, 67%, 83%)
CMYKcmyk(0%, 16.5%, 66.5%, 16.9%)
CIE-LABlab(73.48, 1.14, 57.07)
CIE-LCHlch(73.48, 57.08, 88.86°)
OKLaboklab(77.19% -0.0014 0.1291)
OKLCHoklch(77.19% 0.129 90.6)
XYZxyz(44.0131, 45.8988, 12.5011)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B147 #476AD4
analogous
#D46A47 #D4B147 #B1D447
triadic
#D4B147 #47D4B1 #B147D4
tetradic
#D4B147 #47D46A #476AD4 #D447B1
square
#D4B147 #47D46A #476AD4 #D447B1
split-complementary
#D4B147 #47B1D4 #6A47D4
monochromatic
#82691E #B4922A #D4B147 #E0C679 #EBDBAA

Accessibility & contrast

On white

2.06
#D4B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#D4B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B147
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B147#FFFFFF#000000##000000
##D4B1471.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#E5A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b147;
/* rgb */ color: rgb(212, 177, 71);
/* oklch */ color: oklch(77.2% 0.129 90.6);
Tailwind
colors: {
  custom: {
    50: '#e5c87f',
    500: '#d4b147',
    950: '#000000',
  },
}
SCSS
$custom: #d4b147;
$custom-light: #e5c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b147",
  "rgb": {
    "r": 212,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 45.106,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.12915,
    "h": 90.6
  },
  "luminance": 0.45896
}

Semantic roles & 50–950 ramp

primary
#D4B147
secondary
#9EADD9
accent
#6BE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B147

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

Preview Lab → · Contrast checker → · Palette generator →

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