#D4B348#D4B348

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

Color values

HEX#D4B348
RGBrgb(212, 179, 72)
HSLhsl(46, 62%, 56%)
HSVhsv(46, 66%, 83%)
CMYKcmyk(0%, 15.6%, 66%, 16.9%)
CIE-LABlab(74.00, 0.14, 57.19)
CIE-LCHlch(74.00, 57.19, 89.86°)
OKLaboklab(77.6% -0.0041 0.1296)
OKLCHoklch(77.6% 0.13 91.8)
XYZxyz(44.4434, 46.7076, 12.8042)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B348 #4869D4
analogous
#D46D48 #D4B348 #AFD448
triadic
#D4B348 #48D4B3 #B348D4
tetradic
#D4B348 #48D46D #4869D4 #D448AF
square
#D4B348 #48D46D #4869D4 #D448AF
split-complementary
#D4B348 #48AFD4 #6D48D4
monochromatic
#836B1F #B4942A #D4B348 #E0C87A #EBDCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B348#FFFFFF#000000##000000
##D4B3481.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)
#C5B03B
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#E5A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b348;
/* rgb */ color: rgb(212, 179, 72);
/* oklch */ color: oklch(77.6% 0.130 91.8);
Tailwind
colors: {
  custom: {
    50: '#e5c980',
    500: '#d4b348',
    950: '#000000',
  },
}
SCSS
$custom: #d4b348;
$custom-light: #e5c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b348",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 45.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77602,
    "c": 0.12962,
    "h": 91.8
  },
  "luminance": 0.46705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B348

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

Preview Lab → · Contrast checker → · Palette generator →

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