#D4B94E#D4B94E

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

Color values

HEX#D4B94E
RGBrgb(212, 185, 78)
HSLhsl(48, 61%, 57%)
HSVhsv(48, 63%, 83%)
CMYKcmyk(0%, 12.7%, 63.2%, 16.9%)
CIE-LABlab(75.60, -2.63, 56.29)
CIE-LCHlch(75.60, 56.35, 92.68°)
OKLaboklab(78.89% -0.0114 0.1285)
OKLCHoklch(78.89% 0.129 95.1)
XYZxyz(45.8776, 49.2473, 14.2954)
Luminance0.4924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B94E #4E69D4
analogous
#D4764E #D4B94E #ACD44E
triadic
#D4B94E #4ED4B9 #B94ED4
tetradic
#D4B94E #4ED476 #4E69D4 #D44EAC
square
#D4B94E #4ED476 #4E69D4 #D44EAC
split-complementary
#D4B94E #4EACD4 #764ED4
monochromatic
#877221 #B89C2D #D4B94E #E0CC7F #ECE0B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B94E#FFFFFF#000000##000000
##D4B94E1.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)
#CBB542
Deuteranopia (green-blind)
#D2BE53
Tritanopia (blue-blind)
#E4ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d4b94e;
/* rgb */ color: rgb(212, 185, 78);
/* oklch */ color: oklch(78.9% 0.129 95.1);
Tailwind
colors: {
  custom: {
    50: '#e4cd84',
    500: '#d4b94e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b94e;
$custom-light: #e4cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b94e",
  "rgb": {
    "r": 212,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 47.91,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78885,
    "c": 0.12905,
    "h": 95.1
  },
  "luminance": 0.49245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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