#D4B043#D4B043

#D4B043 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.131 H 90.4°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D4B043
RGBrgb(212, 176, 67)
HSLhsl(45, 63%, 55%)
HSVhsv(45, 68%, 83%)
CMYKcmyk(0%, 17%, 68.4%, 16.9%)
CIE-LABlab(73.19, 1.44, 58.47)
CIE-LCHlch(73.19, 58.49, 88.59°)
OKLaboklab(76.95% -0.001 0.1315)
OKLCHoklch(76.95% 0.131 90.4)
XYZxyz(43.6922, 45.4555, 11.7816)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4B043 #4367D4
analogous
#D46743 #D4B043 #B0D443
triadic
#D4B043 #43D4B0 #B043D4
tetradic
#D4B043 #43D467 #4367D4 #D443B0
square
#D4B043 #43D467 #4367D4 #D443B0
split-complementary
#D4B043 #43B0D4 #6743D4
monochromatic
#7F671D #B18F29 #D4B043 #DFC575 #EBDAA7

Accessibility & contrast

On white

2.08
#D4B043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D4B043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4B043
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4B043#FFFFFF#000000##000000
##D4B0431.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE35
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#E5A299
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d4b043;
/* rgb */ color: rgb(212, 176, 67);
/* oklch */ color: oklch(76.9% 0.131 90.4);
Tailwind
colors: {
  custom: {
    50: '#e5c77d',
    500: '#d4b043',
    950: '#000000',
  },
}
SCSS
$custom: #d4b043;
$custom-light: #e5c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4b043",
  "rgb": {
    "r": 212,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 45.103,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76949,
    "c": 0.13145,
    "h": 90.4
  },
  "luminance": 0.45453
}

Semantic roles & 50–950 ramp

primary
#D4B043
secondary
#9BAAD8
accent
#6BE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D4B043

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

Preview Lab → · Contrast checker → · Palette generator →

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