#D4B84F#D4B84F

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

Color values

HEX#D4B84F
RGBrgb(212, 184, 79)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 63%, 83%)
CMYKcmyk(0%, 13.2%, 62.7%, 16.9%)
CIE-LABlab(75.35, -2.05, 55.57)
CIE-LCHlch(75.35, 55.61, 92.11°)
OKLaboklab(78.69% -0.0096 0.1272)
OKLCHoklch(78.69% 0.128 94.3)
XYZxyz(45.7052, 48.8449, 14.4162)
Luminance0.4884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B84F #4F6BD4
analogous
#D4754F #D4B84F #AED44F
triadic
#D4B84F #4FD4B8 #B84FD4
tetradic
#D4B84F #4FD475 #4F6BD4 #D44FAE
square
#D4B84F #4FD475 #4F6BD4 #D44FAE
split-complementary
#D4B84F #4FAED4 #754FD4
monochromatic
#877221 #B99B2D #D4B84F #E0CC80 #ECE0B1

Accessibility & contrast

On white

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

On black

10.77
#D4B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B84F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B84F#FFFFFF#000000##000000
##D4B84F1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB543
Deuteranopia (green-blind)
#D1BD54
Tritanopia (blue-blind)
#E4ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b84f;
/* rgb */ color: rgb(212, 184, 79);
/* oklch */ color: oklch(78.7% 0.128 94.3);
Tailwind
colors: {
  custom: {
    50: '#e4cd84',
    500: '#d4b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b84f;
$custom-light: #e4cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b84f",
  "rgb": {
    "r": 212,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 47.368,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.12752,
    "h": 94.3
  },
  "luminance": 0.48843
}

Semantic roles & 50–950 ramp

primary
#D4B84F
secondary
#A4B0DA
accent
#66E444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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