#D3B322#D3B322

#D3B322 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.151 H 95.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#D3B322
RGBrgb(211, 179, 34)
HSLhsl(49, 72%, 48%)
HSVhsv(49, 84%, 83%)
CMYKcmyk(0%, 15.2%, 83.9%, 17.3%)
CIE-LABlab(73.68, -1.90, 70.32)
CIE-LCHlch(73.68, 70.35, 91.54°)
OKLaboklab(77.25% -0.0138 0.1504)
OKLCHoklch(77.25% 0.151 95.2)
XYZxyz(43.2753, 46.2071, 8.1526)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B322 #2242D3
analogous
#D35B22 #D3B322 #9AD322
triadic
#D3B322 #22D3B3 #B322D3
tetradic
#D3B322 #22D35B #2242D3 #D3229A
square
#D3B322 #22D35B #2242D3 #D3229A
split-complementary
#D3B322 #229AD3 #5B22D3
monochromatic
#6A5A11 #9E861A #D3B322 #E3C84F #EBD984

Accessibility & contrast

On white

2.05
#D3B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#D3B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B322
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B322#FFFFFF#000000##000000
##D3B3221.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#CFB92E
Tritanopia (blue-blind)
#E5A499
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b322;
/* rgb */ color: rgb(211, 179, 34);
/* oklch */ color: oklch(77.3% 0.151 95.2);
Tailwind
colors: {
  custom: {
    50: '#e5c96d',
    500: '#d3b322',
    950: '#000000',
  },
}
SCSS
$custom: #d3b322;
$custom-light: #e5c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b322",
  "rgb": {
    "r": 211,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 49.153,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77253,
    "c": 0.15106,
    "h": 95.2
  },
  "luminance": 0.46205
}

Semantic roles & 50–950 ramp

primary
#D3B322
secondary
#7D8CD4
accent
#5AEF39
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B322

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

Preview Lab → · Contrast checker → · Palette generator →

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