#D3B43A#D3B43A

#D3B43A is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.6% C 0.140 H 94.3°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#D3B43A
RGBrgb(211, 180, 58)
HSLhsl(48, 63%, 53%)
HSVhsv(48, 73%, 83%)
CMYKcmyk(0%, 14.7%, 72.5%, 17.3%)
CIE-LABlab(74.06, -1.55, 62.93)
CIE-LCHlch(74.06, 62.95, 91.41°)
OKLaboklab(77.59% -0.0105 0.1393)
OKLCHoklch(77.59% 0.14 94.3)
XYZxyz(43.9513, 46.7993, 10.7203)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B43A #3A59D3
analogous
#D3673A #D3B43A #A5D33A
triadic
#D3B43A #3AD3B4 #B43AD3
tetradic
#D3B43A #3AD367 #3A59D3 #D33AA5
square
#D3B43A #3AD367 #3A59D3 #D33AA5
split-complementary
#D3B43A #3AA5D3 #673AD3
monochromatic
#78651B #AA8F26 #D3B43A #DEC76C #E9DA9E

Accessibility & contrast

On white

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

On black

10.36
#D3B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B43A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B43A#FFFFFF#000000##000000
##D3B43A1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3b43a;
/* rgb */ color: rgb(211, 180, 58);
/* oklch */ color: oklch(77.6% 0.140 94.3);
Tailwind
colors: {
  custom: {
    50: '#e5ca78',
    500: '#d3b43a',
    950: '#000000',
  },
}
SCSS
$custom: #d3b43a;
$custom-light: #e5ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b43a",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 47.843,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77593,
    "c": 0.1397,
    "h": 94.3
  },
  "luminance": 0.46797
}

Semantic roles & 50–950 ramp

primary
#D3B43A
secondary
#93A1D6
accent
#63E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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