#D4B548#D4B548

#D4B548 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.131 H 93.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#D4B548
RGBrgb(212, 181, 72)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 14.6%, 66%, 16.9%)
CIE-LABlab(74.52, -0.91, 57.74)
CIE-LCHlch(74.52, 57.75, 90.90°)
OKLaboklab(78.01% -0.0072 0.1307)
OKLCHoklch(78.01% 0.131 93.1)
XYZxyz(44.8472, 47.5151, 12.9388)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B548 #4867D4
analogous
#D46F48 #D4B548 #ADD448
triadic
#D4B548 #48D4B5 #B548D4
tetradic
#D4B548 #48D46F #4867D4 #D448AD
square
#D4B548 #48D46F #4867D4 #D448AD
split-complementary
#D4B548 #48ADD4 #6F48D4
monochromatic
#836D1F #B4962A #D4B548 #E0C97A #EBDDAB

Accessibility & contrast

On white

2.00
#D4B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#D4B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B548
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B548#FFFFFF#000000##000000
##D4B5481.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23B
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#E4A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d4b548;
/* rgb */ color: rgb(212, 181, 72);
/* oklch */ color: oklch(78.0% 0.131 93.1);
Tailwind
colors: {
  custom: {
    50: '#e5ca80',
    500: '#d4b548',
    950: '#000000',
  },
}
SCSS
$custom: #d4b548;
$custom-light: #e5ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b548",
  "rgb": {
    "r": 212,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 46.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7801,
    "c": 0.13091,
    "h": 93.1
  },
  "luminance": 0.47513
}

Semantic roles & 50–950 ramp

primary
#D4B548
secondary
#9FACD9
accent
#67E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B548

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

Preview Lab → · Contrast checker → · Palette generator →

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