#D3B440#D3B440

#D3B440 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.136 H 93.8°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D3B440
RGBrgb(211, 180, 64)
HSLhsl(47, 63%, 54%)
HSVhsv(47, 70%, 83%)
CMYKcmyk(0%, 14.7%, 69.7%, 17.3%)
CIE-LABlab(74.10, -1.25, 60.62)
CIE-LCHlch(74.10, 60.63, 91.18°)
OKLaboklab(77.64% -0.009 0.1355)
OKLCHoklch(77.64% 0.136 93.8)
XYZxyz(44.1129, 46.8640, 11.5716)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B440 #405FD3
analogous
#D36B40 #D3B440 #A9D340
triadic
#D3B440 #40D3B4 #B440D3
tetradic
#D3B440 #40D36B #405FD3 #D340A9
square
#D3B440 #40D36B #405FD3 #D340A9
split-complementary
#D3B440 #40A9D3 #6B40D3
monochromatic
#7C681D #AE9228 #D3B440 #DEC872 #EADBA3

Accessibility & contrast

On white

2.02
#D3B440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D3B440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B440
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B440#FFFFFF#000000##000000
##D3B4401.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B130
Deuteranopia (green-blind)
#CEBA46
Tritanopia (blue-blind)
#E4A69C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b440;
/* rgb */ color: rgb(211, 180, 64);
/* oklch */ color: oklch(77.6% 0.136 93.8);
Tailwind
colors: {
  custom: {
    50: '#e4ca7b',
    500: '#d3b440',
    950: '#000000',
  },
}
SCSS
$custom: #d3b440;
$custom-light: #e4ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b440",
  "rgb": {
    "r": 211,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 47.347,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77639,
    "c": 0.1358,
    "h": 93.8
  },
  "luminance": 0.46862
}

Semantic roles & 50–950 ramp

primary
#D3B440
secondary
#98A5D7
accent
#65E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B440

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

Preview Lab → · Contrast checker → · Palette generator →

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