#D3B922#D3B922

#D3B922 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.155 H 98.4°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#D3B922
RGBrgb(211, 185, 34)
HSLhsl(51, 72%, 48%)
HSVhsv(51, 84%, 83%)
CMYKcmyk(0%, 12.3%, 83.9%, 17.3%)
CIE-LABlab(75.24, -5.02, 71.63)
CIE-LCHlch(75.24, 71.81, 94.01°)
OKLaboklab(78.49% -0.0226 0.1533)
OKLCHoklch(78.49% 0.155 98.4)
XYZxyz(44.5041, 48.6647, 8.5622)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B922 #223CD3
analogous
#D36022 #D3B922 #95D322
triadic
#D3B922 #22D3B9 #B922D3
tetradic
#D3B922 #22D360 #223CD3 #D32295
square
#D3B922 #22D360 #223CD3 #D32295
split-complementary
#D3B922 #2295D3 #6022D3
monochromatic
#6A5D11 #9E8B1A #D3B922 #E3CD4F #EBDC84

Accessibility & contrast

On white

1.96
#D3B922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#D3B922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B922
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B922#FFFFFF#000000##000000
##D3B9221.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#D3BD2F
Tritanopia (blue-blind)
#E4AA9E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b922;
/* rgb */ color: rgb(211, 185, 34);
/* oklch */ color: oklch(78.5% 0.155 98.4);
Tailwind
colors: {
  custom: {
    50: '#e5cd6e',
    500: '#d3b922',
    950: '#000000',
  },
}
SCSS
$custom: #d3b922;
$custom-light: #e5cd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b922",
  "rgb": {
    "r": 211,
    "g": 185,
    "b": 34
  },
  "hsl": {
    "h": 51.186,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7849,
    "c": 0.15495,
    "h": 98.4
  },
  "luminance": 0.48662
}

Semantic roles & 50–950 ramp

primary
#D3B922
secondary
#7D89D4
accent
#54EF39
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B922

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

Preview Lab → · Contrast checker → · Palette generator →

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