#D4B347#D4B347

#D4B347 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.130 H 92.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D4B347
RGBrgb(212, 179, 71)
HSLhsl(46, 62%, 55%)
HSVhsv(46, 67%, 83%)
CMYKcmyk(0%, 15.6%, 66.5%, 16.9%)
CIE-LABlab(73.99, 0.08, 57.61)
CIE-LCHlch(73.99, 57.61, 89.92°)
OKLaboklab(77.59% -0.0044 0.1303)
OKLCHoklch(77.59% 0.13 92)
XYZxyz(44.4110, 46.6947, 12.6338)
Luminance0.4669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B347 #4768D4
analogous
#D46C47 #D4B347 #AFD447
triadic
#D4B347 #47D4B3 #B347D4
tetradic
#D4B347 #47D46C #4768D4 #D447AF
square
#D4B347 #47D46C #4768D4 #D447AF
split-complementary
#D4B347 #47AFD4 #6C47D4
monochromatic
#826B1E #B4942A #D4B347 #E0C779 #EBDCAA

Accessibility & contrast

On white

2.03
#D4B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D4B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B347
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B347#FFFFFF#000000##000000
##D4B3471.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B03A
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#E5A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b347;
/* rgb */ color: rgb(212, 179, 71);
/* oklch */ color: oklch(77.6% 0.130 92.0);
Tailwind
colors: {
  custom: {
    50: '#e5c97f',
    500: '#d4b347',
    950: '#000000',
  },
}
SCSS
$custom: #d4b347;
$custom-light: #e5c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b347",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 45.957,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77593,
    "c": 0.13037,
    "h": 92
  },
  "luminance": 0.46692
}

Semantic roles & 50–950 ramp

primary
#D4B347
secondary
#9EACD9
accent
#69E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B347

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

Preview Lab → · Contrast checker → · Palette generator →

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