#D4B84B#D4B84B

#D4B84B is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.131 H 94.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D4B84B
RGBrgb(212, 184, 75)
HSLhsl(48, 61%, 56%)
HSVhsv(48, 65%, 83%)
CMYKcmyk(0%, 13.2%, 64.6%, 16.9%)
CIE-LABlab(75.32, -2.30, 57.30)
CIE-LCHlch(75.32, 57.34, 92.30°)
OKLaboklab(78.65% -0.0108 0.1302)
OKLCHoklch(78.65% 0.131 94.7)
XYZxyz(45.5640, 48.7884, 13.6724)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B84B #4B67D4
analogous
#D4744B #D4B84B #ACD44B
triadic
#D4B84B #4BD4B8 #B84BD4
tetradic
#D4B84B #4BD474 #4B67D4 #D44BAC
square
#D4B84B #4BD474 #4B67D4 #D44BAC
split-complementary
#D4B84B #4BACD4 #744BD4
monochromatic
#857020 #B69A2C #D4B84B #E0CB7C #ECDFAE

Accessibility & contrast

On white

1.95
#D4B84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#D4B84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B84B
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B84B#FFFFFF#000000##000000
##D4B84B1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB53E
Deuteranopia (green-blind)
#D1BD50
Tritanopia (blue-blind)
#E4ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b84b;
/* rgb */ color: rgb(212, 184, 75);
/* oklch */ color: oklch(78.7% 0.131 94.7);
Tailwind
colors: {
  custom: {
    50: '#e5cd82',
    500: '#d4b84b',
    950: '#000000',
  },
}
SCSS
$custom: #d4b84b;
$custom-light: #e5cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b84b",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 47.737,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78651,
    "c": 0.13069,
    "h": 94.7
  },
  "luminance": 0.48786
}

Semantic roles & 50–950 ramp

primary
#D4B84B
secondary
#A1ADDA
accent
#64E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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