#D4B94F#D4B94F

#D4B94F is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.128 H 95.0°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D4B94F
RGBrgb(212, 185, 79)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 63%, 83%)
CMYKcmyk(0%, 12.7%, 62.7%, 16.9%)
CIE-LABlab(75.61, -2.57, 55.86)
CIE-LCHlch(75.61, 55.91, 92.63°)
OKLaboklab(78.9% -0.0111 0.1278)
OKLCHoklch(78.9% 0.128 95)
XYZxyz(45.9137, 49.2618, 14.4857)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B94F #4F6AD4
analogous
#D4774F #D4B94F #ACD44F
triadic
#D4B94F #4FD4B9 #B94FD4
tetradic
#D4B94F #4FD477 #4F6AD4 #D44FAC
square
#D4B94F #4FD477 #4F6AD4 #D44FAC
split-complementary
#D4B94F #4FACD4 #774FD4
monochromatic
#877321 #B99C2D #D4B94F #E0CD80 #ECE0B1

Accessibility & contrast

On white

1.94
#D4B94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#D4B94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B94F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B94F#FFFFFF#000000##000000
##D4B94F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB543
Deuteranopia (green-blind)
#D2BE54
Tritanopia (blue-blind)
#E4ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b94f;
/* rgb */ color: rgb(212, 185, 79);
/* oklch */ color: oklch(78.9% 0.128 95.0);
Tailwind
colors: {
  custom: {
    50: '#e4cd85',
    500: '#d4b94f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b94f;
$custom-light: #e4cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b94f",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 47.82,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78895,
    "c": 0.12825,
    "h": 95
  },
  "luminance": 0.49259
}

Semantic roles & 50–950 ramp

primary
#D4B94F
secondary
#A4AFDA
accent
#64E444
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B94F

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

Preview Lab → · Contrast checker → · Palette generator →

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