#D3B140#D3B140

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

Color values

HEX#D3B140
RGBrgb(211, 177, 64)
HSLhsl(46, 63%, 54%)
HSVhsv(46, 70%, 83%)
CMYKcmyk(0%, 16.1%, 69.7%, 17.3%)
CIE-LABlab(73.33, 0.32, 59.83)
CIE-LCHlch(73.33, 59.83, 89.69°)
OKLaboklab(77.03% -0.0045 0.1338)
OKLCHoklch(77.03% 0.134 91.9)
XYZxyz(43.5138, 45.6658, 11.3719)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B140 #4062D3
analogous
#D36840 #D3B140 #ACD340
triadic
#D3B140 #40D3B1 #B140D3
tetradic
#D3B140 #40D368 #4062D3 #D340AC
square
#D3B140 #40D368 #4062D3 #D340AC
split-complementary
#D3B140 #40ACD3 #6840D3
monochromatic
#7C661D #AE8F28 #D3B140 #DEC572 #EADAA3

Accessibility & contrast

On white

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

On black

10.13
#D3B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B140
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B140#FFFFFF#000000##000000
##D3B1401.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3b140;
/* rgb */ color: rgb(211, 177, 64);
/* oklch */ color: oklch(77.0% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#e4c87b',
    500: '#d3b140',
    950: '#000000',
  },
}
SCSS
$custom: #d3b140;
$custom-light: #e4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b140",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 46.122,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77028,
    "c": 0.13391,
    "h": 91.9
  },
  "luminance": 0.45663
}

Semantic roles & 50–950 ramp

primary
#D3B140
secondary
#98A7D7
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B140

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

Preview Lab → · Contrast checker → · Palette generator →

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