#D3B43B#D3B43B

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

Color values

HEX#D3B43B
RGBrgb(211, 180, 59)
HSLhsl(48, 63%, 53%)
HSVhsv(48, 72%, 83%)
CMYKcmyk(0%, 14.7%, 72%, 17.3%)
CIE-LABlab(74.07, -1.50, 62.55)
CIE-LCHlch(74.07, 62.57, 91.37°)
OKLaboklab(77.6% -0.0103 0.1387)
OKLCHoklch(77.6% 0.139 94.3)
XYZxyz(43.9770, 46.8096, 10.8556)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B43B #3B5AD3
analogous
#D3683B #D3B43B #A6D33B
triadic
#D3B43B #3BD3B4 #B43BD3
tetradic
#D3B43B #3BD368 #3B5AD3 #D33BA6
square
#D3B43B #3BD368 #3B5AD3 #D33BA6
split-complementary
#D3B43B #3BA6D3 #683BD3
monochromatic
#79651B #AB9026 #D3B43B #DEC76D #E9DA9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B43B#FFFFFF#000000##000000
##D3B43B1.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)
#C7B128
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#E4A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b43b;
/* rgb */ color: rgb(211, 180, 59);
/* oklch */ color: oklch(77.6% 0.139 94.3);
Tailwind
colors: {
  custom: {
    50: '#e5ca79',
    500: '#d3b43b',
    950: '#000000',
  },
}
SCSS
$custom: #d3b43b;
$custom-light: #e5ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b43b",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 47.763,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77601,
    "c": 0.13907,
    "h": 94.3
  },
  "luminance": 0.46807
}

Semantic roles & 50–950 ramp

primary
#D3B43B
secondary
#94A1D6
accent
#63E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B43B

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

Preview Lab → · Contrast checker → · Palette generator →

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