#D4B74C#D4B74C

#D4B74C is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.129 H 94.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D4B74C
RGBrgb(212, 183, 76)
HSLhsl(47, 61%, 56%)
HSVhsv(47, 64%, 83%)
CMYKcmyk(0%, 13.7%, 64.2%, 16.9%)
CIE-LABlab(75.07, -1.71, 56.59)
CIE-LCHlch(75.07, 56.62, 91.74°)
OKLaboklab(78.46% -0.009 0.1289)
OKLCHoklch(78.46% 0.129 94)
XYZxyz(45.3915, 48.3882, 13.7850)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B74C #4C69D4
analogous
#D4734C #D4B74C #ADD44C
triadic
#D4B74C #4CD4B7 #B74CD4
tetradic
#D4B74C #4CD473 #4C69D4 #D44CAD
square
#D4B74C #4CD473 #4C69D4 #D44CAD
split-complementary
#D4B74C #4CADD4 #734CD4
monochromatic
#867020 #B7992C #D4B74C #E0CB7D #ECDFAF

Accessibility & contrast

On white

1.97
#D4B74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D4B74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B74C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B74C#FFFFFF#000000##000000
##D4B74C1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B440
Deuteranopia (green-blind)
#D0BD51
Tritanopia (blue-blind)
#E4AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d4b74c;
/* rgb */ color: rgb(212, 183, 76);
/* oklch */ color: oklch(78.5% 0.129 94.0);
Tailwind
colors: {
  custom: {
    50: '#e5cc83',
    500: '#d4b74c',
    950: '#000000',
  },
}
SCSS
$custom: #d4b74c;
$custom-light: #e5cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b74c",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 47.206,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78456,
    "c": 0.12921,
    "h": 94
  },
  "luminance": 0.48386
}

Semantic roles & 50–950 ramp

primary
#D4B74C
secondary
#A2AEDA
accent
#66E443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D4B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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