#D4B73E#D4B73E

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

Color values

HEX#D4B73E
RGBrgb(212, 183, 62)
HSLhsl(48, 64%, 54%)
HSVhsv(48, 71%, 83%)
CMYKcmyk(0%, 13.7%, 70.8%, 16.9%)
CIE-LABlab(74.96, -2.50, 62.30)
CIE-LCHlch(74.96, 62.35, 92.29°)
OKLaboklab(78.33% -0.0129 0.1387)
OKLCHoklch(78.33% 0.139 95.3)
XYZxyz(44.9566, 48.2142, 11.4948)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B73E #3E5BD4
analogous
#D46C3E #D4B73E #A6D43E
triadic
#D4B73E #3ED4B7 #B73ED4
tetradic
#D4B73E #3ED46C #3E5BD4 #D43EA6
square
#D4B73E #3ED46C #3E5BD4 #D43EA6
split-complementary
#D4B73E #3EA6D4 #6C3ED4
monochromatic
#7C691C #AE9427 #D4B73E #DFCA70 #EADCA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4B73E#FFFFFF#000000##000000
##D4B73E1.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)
#CAB32C
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#E5A99F
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d4b73e;
/* rgb */ color: rgb(212, 183, 62);
/* oklch */ color: oklch(78.3% 0.139 95.3);
Tailwind
colors: {
  custom: {
    50: '#e5cc7a',
    500: '#d4b73e',
    950: '#000000',
  },
}
SCSS
$custom: #d4b73e;
$custom-light: #e5cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b73e",
  "rgb": {
    "r": 212,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 48.4,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78335,
    "c": 0.13928,
    "h": 95.3
  },
  "luminance": 0.48212
}

Semantic roles & 50–950 ramp

primary
#D4B73E
secondary
#97A3D7
accent
#61E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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