#D4B73F#D4B73F

#D4B73F is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.3% C 0.139 H 95.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D4B73F
RGBrgb(212, 183, 63)
HSLhsl(48, 63%, 54%)
HSVhsv(48, 70%, 83%)
CMYKcmyk(0%, 13.7%, 70.3%, 16.9%)
CIE-LABlab(74.97, -2.45, 61.92)
CIE-LCHlch(74.97, 61.97, 92.26°)
OKLaboklab(78.34% -0.0126 0.138)
OKLCHoklch(78.34% 0.139 95.2)
XYZxyz(44.9843, 48.2253, 11.6406)
Luminance0.4822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B73F #3F5CD4
analogous
#D46D3F #D4B73F #A7D43F
triadic
#D4B73F #3FD4B7 #B73FD4
tetradic
#D4B73F #3FD46D #3F5CD4 #D43FA7
square
#D4B73F #3FD46D #3F5CD4 #D43FA7
split-complementary
#D4B73F #3FA7D4 #6D3FD4
monochromatic
#7D6A1C #AF9427 #D4B73F #DFCA71 #EADDA3

Accessibility & contrast

On white

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

On black

10.64
#D4B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B73F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B73F#FFFFFF#000000##000000
##D4B73F1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32E
Deuteranopia (green-blind)
#D1BC46
Tritanopia (blue-blind)
#E5A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b73f;
/* rgb */ color: rgb(212, 183, 63);
/* oklch */ color: oklch(78.3% 0.139 95.2);
Tailwind
colors: {
  custom: {
    50: '#e5cc7b',
    500: '#d4b73f',
    950: '#000000',
  },
}
SCSS
$custom: #d4b73f;
$custom-light: #e5cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b73f",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 48.322,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78342,
    "c": 0.13862,
    "h": 95.2
  },
  "luminance": 0.48223
}

Semantic roles & 50–950 ramp

primary
#D4B73F
secondary
#98A4D7
accent
#61E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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