#D4B247#D4B247

#D4B247 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.130 H 91.3°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#D4B247
RGBrgb(212, 178, 71)
HSLhsl(46, 62%, 55%)
HSVhsv(46, 67%, 83%)
CMYKcmyk(0%, 16%, 66.5%, 16.9%)
CIE-LABlab(73.74, 0.61, 57.34)
CIE-LCHlch(73.74, 57.34, 89.39°)
OKLaboklab(77.39% -0.0029 0.1297)
OKLCHoklch(77.39% 0.13 91.3)
XYZxyz(44.2114, 46.2953, 12.5672)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B247 #4769D4
analogous
#D46B47 #D4B247 #AFD447
triadic
#D4B247 #47D4B2 #B247D4
tetradic
#D4B247 #47D46B #4769D4 #D447AF
square
#D4B247 #47D46B #4769D4 #D447AF
split-complementary
#D4B247 #47AFD4 #6B47D4
monochromatic
#826A1E #B4932A #D4B247 #E0C779 #EBDCAA

Accessibility & contrast

On white

2.05
#D4B247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#D4B247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B247
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B247#FFFFFF#000000##000000
##D4B2471.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#E5A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d4b247;
/* rgb */ color: rgb(212, 178, 71);
/* oklch */ color: oklch(77.4% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#e5c87f',
    500: '#d4b247',
    950: '#000000',
  },
}
SCSS
$custom: #d4b247;
$custom-light: #e5c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b247",
  "rgb": {
    "r": 212,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 45.532,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.7739,
    "c": 0.12974,
    "h": 91.3
  },
  "luminance": 0.46293
}

Semantic roles & 50–950 ramp

primary
#D4B247
secondary
#9EACD9
accent
#6AE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B247

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

Preview Lab → · Contrast checker → · Palette generator →

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