#D3B941#D3B941

#D3B941 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.139 H 96.7°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#D3B941
RGBrgb(211, 185, 65)
HSLhsl(49, 62%, 54%)
HSVhsv(49, 69%, 83%)
CMYKcmyk(0%, 12.3%, 69.2%, 17.3%)
CIE-LABlab(75.41, -3.82, 61.54)
CIE-LCHlch(75.41, 61.66, 93.55°)
OKLaboklab(78.67% -0.0162 0.1376)
OKLCHoklch(78.67% 0.139 96.7)
XYZxyz(45.1692, 48.9308, 12.0654)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B941 #415BD3
analogous
#D37041 #D3B941 #A4D341
triadic
#D3B941 #41D3B9 #B941D3
tetradic
#D3B941 #41D370 #415BD3 #D341A4
square
#D3B941 #41D370 #415BD3 #D341A4
split-complementary
#D3B941 #41A4D3 #7041D3
monochromatic
#7D6C1D #AE9728 #D3B941 #DFCB73 #EADEA4

Accessibility & contrast

On white

1.95
#D3B941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#D3B941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B941
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B941#FFFFFF#000000##000000
##D3B9411.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB530
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#E3ABA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d3b941;
/* rgb */ color: rgb(211, 185, 65);
/* oklch */ color: oklch(78.7% 0.139 96.7);
Tailwind
colors: {
  custom: {
    50: '#e4cd7c',
    500: '#d3b941',
    950: '#000000',
  },
}
SCSS
$custom: #d3b941;
$custom-light: #e4cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b941",
  "rgb": {
    "r": 211,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 49.315,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78674,
    "c": 0.13858,
    "h": 96.7
  },
  "luminance": 0.48928
}

Semantic roles & 50–950 ramp

primary
#D3B941
secondary
#99A4D7
accent
#5FE542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B941

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

Preview Lab → · Contrast checker → · Palette generator →

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