#D4B648#D4B648

#D4B648 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.132 H 93.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#D4B648
RGBrgb(212, 182, 72)
HSLhsl(47, 62%, 56%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 14.2%, 66%, 16.9%)
CIE-LABlab(74.78, -1.43, 58.01)
CIE-LCHlch(74.78, 58.03, 91.41°)
OKLaboklab(78.21% -0.0087 0.1313)
OKLCHoklch(78.21% 0.132 93.8)
XYZxyz(45.0512, 47.9232, 13.0068)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B648 #4866D4
analogous
#D47048 #D4B648 #ACD448
triadic
#D4B648 #48D4B6 #B648D4
tetradic
#D4B648 #48D470 #4866D4 #D448AC
square
#D4B648 #48D470 #4866D4 #D448AC
split-complementary
#D4B648 #48ACD4 #7048D4
monochromatic
#836D1F #B4972A #D4B648 #E0CA7A #EBDEAB

Accessibility & contrast

On white

1.98
#D4B648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#D4B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B648
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B648#FFFFFF#000000##000000
##D4B6481.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33B
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#E4A89F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b648;
/* rgb */ color: rgb(212, 182, 72);
/* oklch */ color: oklch(78.2% 0.132 93.8);
Tailwind
colors: {
  custom: {
    50: '#e5cb80',
    500: '#d4b648',
    950: '#000000',
  },
}
SCSS
$custom: #d4b648;
$custom-light: #e5cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b648",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 47.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78214,
    "c": 0.13158,
    "h": 93.8
  },
  "luminance": 0.47921
}

Semantic roles & 50–950 ramp

primary
#D4B648
secondary
#9FABD9
accent
#66E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B648

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

Preview Lab → · Contrast checker → · Palette generator →

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