#D3B531#D3B531

#D3B531 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.146 H 95.5°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D3B531
RGBrgb(211, 181, 49)
HSLhsl(49, 65%, 51%)
HSVhsv(49, 77%, 83%)
CMYKcmyk(0%, 14.2%, 76.8%, 17.3%)
CIE-LABlab(74.27, -2.45, 66.35)
CIE-LCHlch(74.27, 66.40, 92.12°)
OKLaboklab(77.74% -0.0141 0.1448)
OKLCHoklch(77.74% 0.146 95.5)
XYZxyz(43.9446, 47.1208, 9.6857)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B531 #314FD3
analogous
#D36431 #D3B531 #A0D331
triadic
#D3B531 #31D3B5 #B531D3
tetradic
#D3B531 #31D364 #314FD3 #D331A0
square
#D3B531 #31D364 #314FD3 #D331A0
split-complementary
#D3B531 #31A0D3 #6431D3
monochromatic
#716118 #A48C23 #D3B531 #DEC763 #E9D996

Accessibility & contrast

On white

2.01
#D3B531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D3B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B531
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B531#FFFFFF#000000##000000
##D3B5311.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B115
Deuteranopia (green-blind)
#D0BB3A
Tritanopia (blue-blind)
#E4A69C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3b531;
/* rgb */ color: rgb(211, 181, 49);
/* oklch */ color: oklch(77.7% 0.146 95.5);
Tailwind
colors: {
  custom: {
    50: '#e5ca73',
    500: '#d3b531',
    950: '#000000',
  },
}
SCSS
$custom: #d3b531;
$custom-light: #e5ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b531",
  "rgb": {
    "r": 211,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 48.889,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77739,
    "c": 0.14552,
    "h": 95.5
  },
  "luminance": 0.47118
}

Semantic roles & 50–950 ramp

primary
#D3B531
secondary
#8C99D4
accent
#5FE840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B531

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

Preview Lab → · Contrast checker → · Palette generator →

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