#D4B94B#D4B94B

#D4B94B is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.131 H 95.4°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D4B94B
RGBrgb(212, 185, 75)
HSLhsl(48, 61%, 56%)
HSVhsv(48, 65%, 83%)
CMYKcmyk(0%, 12.7%, 64.6%, 16.9%)
CIE-LABlab(75.58, -2.82, 57.57)
CIE-LCHlch(75.58, 57.64, 92.81°)
OKLaboklab(78.86% -0.0123 0.1308)
OKLCHoklch(78.86% 0.131 95.4)
XYZxyz(45.7725, 49.2053, 13.7418)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B94B #4B66D4
analogous
#D4754B #D4B94B #ABD44B
triadic
#D4B94B #4BD4B9 #B94BD4
tetradic
#D4B94B #4BD475 #4B66D4 #D44BAB
square
#D4B94B #4BD475 #4B66D4 #D44BAB
split-complementary
#D4B94B #4BABD4 #754BD4
monochromatic
#857120 #B69B2C #D4B94B #E0CC7C #ECDFAE

Accessibility & contrast

On white

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

On black

10.84
#D4B94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B94B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B94B#FFFFFF#000000##000000
##D4B94B1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4b94b;
/* rgb */ color: rgb(212, 185, 75);
/* oklch */ color: oklch(78.9% 0.131 95.4);
Tailwind
colors: {
  custom: {
    50: '#e5cd82',
    500: '#d4b94b',
    950: '#000000',
  },
}
SCSS
$custom: #d4b94b;
$custom-light: #e5cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b94b",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 48.175,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78856,
    "c": 0.13141,
    "h": 95.4
  },
  "luminance": 0.49203
}

Semantic roles & 50–950 ramp

primary
#D4B94B
secondary
#A1ACDA
accent
#63E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B94B

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

Preview Lab → · Contrast checker → · Palette generator →

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