#D3B145#D3B145

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

Color values

HEX#D3B145
RGBrgb(211, 177, 69)
HSLhsl(46, 62%, 55%)
HSVhsv(46, 67%, 83%)
CMYKcmyk(0%, 16.1%, 67.3%, 17.3%)
CIE-LABlab(73.37, 0.60, 57.78)
CIE-LCHlch(73.37, 57.78, 89.41°)
OKLaboklab(77.07% -0.0031 0.1304)
OKLCHoklch(77.07% 0.13 91.4)
XYZxyz(43.6625, 45.7253, 12.1552)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B145 #4567D3
analogous
#D36A45 #D3B145 #AED345
triadic
#D3B145 #45D3B1 #B145D3
tetradic
#D3B145 #45D36A #4567D3 #D345AE
square
#D3B145 #45D36A #4567D3 #D345AE
split-complementary
#D3B145 #45AED3 #6A45D3
monochromatic
#7F681E #B1912A #D3B145 #DFC676 #EADBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3B145#FFFFFF#000000##000000
##D3B1451.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)
#C4AF38
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#E4A39A
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b145;
/* rgb */ color: rgb(211, 177, 69);
/* oklch */ color: oklch(77.1% 0.130 91.4);
Tailwind
colors: {
  custom: {
    50: '#e4c87e',
    500: '#d3b145',
    950: '#000000',
  },
}
SCSS
$custom: #d3b145;
$custom-light: #e4c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b145",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 45.634,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77071,
    "c": 0.13039,
    "h": 91.4
  },
  "luminance": 0.45723
}

Semantic roles & 50–950 ramp

primary
#D3B145
secondary
#9CAAD8
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B145

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

Preview Lab → · Contrast checker → · Palette generator →

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