#D4B34E#D4B34E

#D4B34E is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.7% C 0.125 H 91.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D4B34E
RGBrgb(212, 179, 78)
HSLhsl(45, 61%, 57%)
HSVhsv(45, 63%, 83%)
CMYKcmyk(0%, 15.6%, 63.2%, 16.9%)
CIE-LABlab(74.06, 0.51, 54.60)
CIE-LCHlch(74.06, 54.60, 89.46°)
OKLaboklab(77.66% -0.0023 0.1249)
OKLCHoklch(77.66% 0.125 91.1)
XYZxyz(44.6488, 46.7898, 13.8858)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B34E #4E6FD4
analogous
#D4704E #D4B34E #B2D44E
triadic
#D4B34E #4ED4B3 #B34ED4
tetradic
#D4B34E #4ED470 #4E6FD4 #D44EB2
square
#D4B34E #4ED470 #4E6FD4 #D44EB2
split-complementary
#D4B34E #4EB2D4 #704ED4
monochromatic
#876E21 #B8962D #D4B34E #E0C87F #ECDDB0

Accessibility & contrast

On white

2.03
#D4B34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#D4B34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B34E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B34E#FFFFFF#000000##000000
##D4B34E1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B143
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#E4A69D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d4b34e;
/* rgb */ color: rgb(212, 179, 78);
/* oklch */ color: oklch(77.7% 0.125 91.1);
Tailwind
colors: {
  custom: {
    50: '#e5c984',
    500: '#d4b34e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b34e;
$custom-light: #e5c984;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b34e",
  "rgb": {
    "r": 212,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 45.224,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77661,
    "c": 0.12496,
    "h": 91.1
  },
  "luminance": 0.46787
}

Semantic roles & 50–950 ramp

primary
#D4B34E
secondary
#A4B1DA
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B34E

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

Preview Lab → · Contrast checker → · Palette generator →

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