#D3B241#D3B241

#D3B241 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.2% C 0.134 H 92.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#D3B241
RGBrgb(211, 178, 65)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 83%)
CMYKcmyk(0%, 15.6%, 69.2%, 17.3%)
CIE-LABlab(73.59, -0.15, 59.69)
CIE-LCHlch(73.59, 59.69, 90.14°)
OKLaboklab(77.24% -0.0058 0.1337)
OKLCHoklch(77.24% 0.134 92.5)
XYZxyz(43.7408, 46.0738, 11.5892)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B241 #4162D3
analogous
#D36941 #D3B241 #ABD341
triadic
#D3B241 #41D3B2 #B241D3
tetradic
#D3B241 #41D369 #4162D3 #D341AB
square
#D3B241 #41D369 #4162D3 #D341AB
split-complementary
#D3B241 #41ABD3 #6941D3
monochromatic
#7D671D #AE9028 #D3B241 #DFC673 #EADAA4

Accessibility & contrast

On white

2.06
#D3B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#D3B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B241
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B241#FFFFFF#000000##000000
##D3B2411.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF32
Deuteranopia (green-blind)
#CDB947
Tritanopia (blue-blind)
#E4A49B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b241;
/* rgb */ color: rgb(211, 178, 65);
/* oklch */ color: oklch(77.2% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e4c87c',
    500: '#d3b241',
    950: '#000000',
  },
}
SCSS
$custom: #d3b241;
$custom-light: #e4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b241",
  "rgb": {
    "r": 211,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 46.438,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7724,
    "c": 0.13383,
    "h": 92.5
  },
  "luminance": 0.46071
}

Semantic roles & 50–950 ramp

primary
#D3B241
secondary
#99A7D7
accent
#67E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B241

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

Preview Lab → · Contrast checker → · Palette generator →

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