#D3B43F#D3B43F

#D3B43F is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.136 H 93.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D3B43F
RGBrgb(211, 180, 63)
HSLhsl(47, 63%, 54%)
HSVhsv(47, 70%, 83%)
CMYKcmyk(0%, 14.7%, 70.1%, 17.3%)
CIE-LABlab(74.10, -1.30, 61.01)
CIE-LCHlch(74.10, 61.02, 91.23°)
OKLaboklab(77.63% -0.0093 0.1362)
OKLCHoklch(77.63% 0.136 93.9)
XYZxyz(44.0847, 46.8527, 11.4231)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B43F #3F5ED3
analogous
#D36A3F #D3B43F #A8D33F
triadic
#D3B43F #3FD3B4 #B43FD3
tetradic
#D3B43F #3FD36A #3F5ED3 #D33FA8
square
#D3B43F #3FD36A #3F5ED3 #D33FA8
split-complementary
#D3B43F #3FA8D3 #6A3FD3
monochromatic
#7B671C #AD9128 #D3B43F #DEC771 #EADBA3

Accessibility & contrast

On white

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

On black

10.37
#D3B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B43F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B43F#FFFFFF#000000##000000
##D3B43F1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#CFBA45
Tritanopia (blue-blind)
#E4A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b43f;
/* rgb */ color: rgb(211, 180, 63);
/* oklch */ color: oklch(77.6% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#e4ca7b',
    500: '#d3b43f',
    950: '#000000',
  },
}
SCSS
$custom: #d3b43f;
$custom-light: #e4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b43f",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 47.432,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77631,
    "c": 0.13647,
    "h": 93.9
  },
  "luminance": 0.4685
}

Semantic roles & 50–950 ramp

primary
#D3B43F
secondary
#97A5D7
accent
#64E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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