#D3B141#D3B141

#D3B141 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.133 H 91.8°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#D3B141
RGBrgb(211, 177, 65)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 83%)
CMYKcmyk(0%, 16.1%, 69.2%, 17.3%)
CIE-LABlab(73.34, 0.38, 59.42)
CIE-LCHlch(73.34, 59.43, 89.64°)
OKLaboklab(77.04% -0.0042 0.1332)
OKLCHoklch(77.04% 0.133 91.8)
XYZxyz(43.5425, 45.6773, 11.5232)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B141 #4163D3
analogous
#D36841 #D3B141 #ACD341
triadic
#D3B141 #41D3B1 #B141D3
tetradic
#D3B141 #41D368 #4163D3 #D341AC
square
#D3B141 #41D368 #4163D3 #D341AC
split-complementary
#D3B141 #41ACD3 #6841D3
monochromatic
#7D661D #AE8F28 #D3B141 #DFC573 #EADAA4

Accessibility & contrast

On white

2.07
#D3B141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#D3B141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B141
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B141#FFFFFF#000000##000000
##D3B1411.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE32
Deuteranopia (green-blind)
#CCB847
Tritanopia (blue-blind)
#E4A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b141;
/* rgb */ color: rgb(211, 177, 65);
/* oklch */ color: oklch(77.0% 0.133 91.8);
Tailwind
colors: {
  custom: {
    50: '#e4c87c',
    500: '#d3b141',
    950: '#000000',
  },
}
SCSS
$custom: #d3b141;
$custom-light: #e4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b141",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 46.027,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77036,
    "c": 0.13322,
    "h": 91.8
  },
  "luminance": 0.45675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3B141

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

Preview Lab → · Contrast checker → · Palette generator →

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