#D3B722#D3B722

#D3B722 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.154 H 97.3°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D3B722
RGBrgb(211, 183, 34)
HSLhsl(51, 72%, 48%)
HSVhsv(51, 84%, 83%)
CMYKcmyk(0%, 13.3%, 83.9%, 17.3%)
CIE-LABlab(74.72, -3.99, 71.19)
CIE-LCHlch(74.72, 71.30, 93.20°)
OKLaboklab(78.08% -0.0196 0.1523)
OKLCHoklch(78.08% 0.154 97.3)
XYZxyz(44.0886, 47.8338, 8.4237)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B722 #223ED3
analogous
#D35E22 #D3B722 #97D322
triadic
#D3B722 #22D3B7 #B722D3
tetradic
#D3B722 #22D35E #223ED3 #D32297
square
#D3B722 #22D35E #223ED3 #D32297
split-complementary
#D3B722 #2297D3 #5E22D3
monochromatic
#6A5C11 #9E891A #D3B722 #E3CB4F #EBDB84

Accessibility & contrast

On white

1.99
#D3B722 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#D3B722 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B722
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B722#FFFFFF#000000##000000
##D3B7221.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#D2BC2F
Tritanopia (blue-blind)
#E4A89D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d3b722;
/* rgb */ color: rgb(211, 183, 34);
/* oklch */ color: oklch(78.1% 0.154 97.3);
Tailwind
colors: {
  custom: {
    50: '#e5cc6d',
    500: '#d3b722',
    950: '#000000',
  },
}
SCSS
$custom: #d3b722;
$custom-light: #e5cc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b722",
  "rgb": {
    "r": 211,
    "g": 183,
    "b": 34
  },
  "hsl": {
    "h": 50.508,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78076,
    "c": 0.1536,
    "h": 97.3
  },
  "luminance": 0.47831
}

Semantic roles & 50–950 ramp

primary
#D3B722
secondary
#7D8AD4
accent
#56EF39
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B722

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

Preview Lab → · Contrast checker → · Palette generator →

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