#D3B031#D3B031

#D3B031 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.142 H 92.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#D3B031
RGBrgb(211, 176, 49)
HSLhsl(47, 65%, 51%)
HSVhsv(47, 77%, 83%)
CMYKcmyk(0%, 16.6%, 76.8%, 17.3%)
CIE-LABlab(72.97, 0.17, 65.16)
CIE-LCHlch(72.97, 65.16, 89.85°)
OKLaboklab(76.72% -0.0066 0.1423)
OKLCHoklch(76.72% 0.142 92.7)
XYZxyz(42.9461, 45.1239, 9.3529)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B031 #3154D3
analogous
#D35F31 #D3B031 #A5D331
triadic
#D3B031 #31D3B0 #B031D3
tetradic
#D3B031 #31D35F #3154D3 #D331A5
square
#D3B031 #31D35F #3154D3 #D331A5
split-complementary
#D3B031 #31A5D3 #5F31D3
monochromatic
#715E18 #A48823 #D3B031 #DEC363 #E9D796

Accessibility & contrast

On white

2.09
#D3B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#D3B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B031
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B031#FFFFFF#000000##000000
##D3B0311.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD18
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3b031;
/* rgb */ color: rgb(211, 176, 49);
/* oklch */ color: oklch(76.7% 0.142 92.7);
Tailwind
colors: {
  custom: {
    50: '#e5c773',
    500: '#d3b031',
    950: '#000000',
  },
}
SCSS
$custom: #d3b031;
$custom-light: #e5c773;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b031",
  "rgb": {
    "r": 211,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 47.037,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76717,
    "c": 0.14243,
    "h": 92.7
  },
  "luminance": 0.45121
}

Semantic roles & 50–950 ramp

primary
#D3B031
secondary
#8C9CD4
accent
#64E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B031

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

Preview Lab → · Contrast checker → · Palette generator →

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