#D3B431#D3B431

#D3B431 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.145 H 95.0°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D3B431
RGBrgb(211, 180, 49)
HSLhsl(49, 65%, 51%)
HSVhsv(49, 77%, 83%)
CMYKcmyk(0%, 14.7%, 76.8%, 17.3%)
CIE-LABlab(74.01, -1.93, 66.11)
CIE-LCHlch(74.01, 66.14, 91.67°)
OKLaboklab(77.53% -0.0126 0.1443)
OKLCHoklch(77.53% 0.145 95)
XYZxyz(43.7420, 46.7156, 9.6182)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B431 #3150D3
analogous
#D36331 #D3B431 #A1D331
triadic
#D3B431 #31D3B4 #B431D3
tetradic
#D3B431 #31D363 #3150D3 #D331A1
square
#D3B431 #31D363 #3150D3 #D331A1
split-complementary
#D3B431 #31A1D3 #6331D3
monochromatic
#716018 #A48B23 #D3B431 #DEC663 #E9D996

Accessibility & contrast

On white

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

On black

10.34
#D3B431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B431
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B431#FFFFFF#000000##000000
##D3B4311.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B016
Deuteranopia (green-blind)
#CFBA3A
Tritanopia (blue-blind)
#E4A59B
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b431;
/* rgb */ color: rgb(211, 180, 49);
/* oklch */ color: oklch(77.5% 0.145 95.0);
Tailwind
colors: {
  custom: {
    50: '#e5ca73',
    500: '#d3b431',
    950: '#000000',
  },
}
SCSS
$custom: #d3b431;
$custom-light: #e5ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b431",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 48.519,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77534,
    "c": 0.14488,
    "h": 95
  },
  "luminance": 0.46713
}

Semantic roles & 50–950 ramp

primary
#D3B431
secondary
#8C9AD4
accent
#60E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B431

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

Preview Lab → · Contrast checker → · Palette generator →

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