#D4B64E#D4B64E

#D4B64E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.3% C 0.127 H 93.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#D4B64E
RGBrgb(212, 182, 78)
HSLhsl(47, 61%, 57%)
HSVhsv(47, 63%, 83%)
CMYKcmyk(0%, 14.2%, 63.2%, 16.9%)
CIE-LABlab(74.83, -1.06, 55.44)
CIE-LCHlch(74.83, 55.45, 91.10°)
OKLaboklab(78.27% -0.0069 0.1268)
OKLCHoklch(78.27% 0.127 93.1)
XYZxyz(45.2566, 48.0054, 14.0884)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B64E #4E6CD4
analogous
#D4734E #D4B64E #AFD44E
triadic
#D4B64E #4ED4B6 #B64ED4
tetradic
#D4B64E #4ED473 #4E6CD4 #D44EAF
square
#D4B64E #4ED473 #4E6CD4 #D44EAF
split-complementary
#D4B64E #4EAFD4 #734ED4
monochromatic
#877021 #B8992D #D4B64E #E0CA7F #ECDFB0

Accessibility & contrast

On white

1.98
#D4B64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#D4B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B64E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B64E#FFFFFF#000000##000000
##D4B64E1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CFBC53
Tritanopia (blue-blind)
#E4A9A0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b64e;
/* rgb */ color: rgb(212, 182, 78);
/* oklch */ color: oklch(78.3% 0.127 93.1);
Tailwind
colors: {
  custom: {
    50: '#e4cb84',
    500: '#d4b64e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b64e;
$custom-light: #e4cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b64e",
  "rgb": {
    "r": 212,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 46.567,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78271,
    "c": 0.12694,
    "h": 93.1
  },
  "luminance": 0.48003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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