#D3B422#D3B422

#D3B422 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.152 H 95.8°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#D3B422
RGBrgb(211, 180, 34)
HSLhsl(49, 72%, 48%)
HSVhsv(49, 84%, 83%)
CMYKcmyk(0%, 14.7%, 83.9%, 17.3%)
CIE-LABlab(73.94, -2.42, 70.54)
CIE-LCHlch(73.94, 70.58, 91.96°)
OKLaboklab(77.46% -0.0152 0.1509)
OKLCHoklch(77.46% 0.152 95.8)
XYZxyz(43.4764, 46.6094, 8.2196)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B422 #2241D3
analogous
#D35C22 #D3B422 #99D322
triadic
#D3B422 #22D3B4 #B422D3
tetradic
#D3B422 #22D35C #2241D3 #D32299
square
#D3B422 #22D35C #2241D3 #D32299
split-complementary
#D3B422 #2299D3 #5C22D3
monochromatic
#6A5A11 #9E871A #D3B422 #E3C94F #EBD984

Accessibility & contrast

On white

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

On black

10.32
#D3B422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B422
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B422#FFFFFF#000000##000000
##D3B4221.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#D0BA2E
Tritanopia (blue-blind)
#E5A59A
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b422;
/* rgb */ color: rgb(211, 180, 34);
/* oklch */ color: oklch(77.5% 0.152 95.8);
Tailwind
colors: {
  custom: {
    50: '#e5ca6d',
    500: '#d3b422',
    950: '#000000',
  },
}
SCSS
$custom: #d3b422;
$custom-light: #e5ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b422",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 49.492,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77458,
    "c": 0.15167,
    "h": 95.8
  },
  "luminance": 0.46607
}

Semantic roles & 50–950 ramp

primary
#D3B422
secondary
#7D8CD4
accent
#59EF39
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171308
muted
#85827B

Preview Lab

Preview with #D3B422

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

Preview Lab → · Contrast checker → · Palette generator →

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