#D3B640#D3B640

#D3B640 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.137 H 95.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#D3B640
RGBrgb(211, 182, 64)
HSLhsl(48, 63%, 54%)
HSVhsv(48, 70%, 83%)
CMYKcmyk(0%, 13.7%, 69.7%, 17.3%)
CIE-LABlab(74.62, -2.30, 61.14)
CIE-LCHlch(74.62, 61.18, 92.16°)
OKLaboklab(78.05% -0.012 0.1366)
OKLCHoklch(78.05% 0.137 95)
XYZxyz(44.5196, 47.6773, 11.7072)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B640 #405DD3
analogous
#D36D40 #D3B640 #A7D340
triadic
#D3B640 #40D3B6 #B640D3
tetradic
#D3B640 #40D36D #405DD3 #D340A7
square
#D3B640 #40D36D #405DD3 #D340A7
split-complementary
#D3B640 #40A7D3 #6D40D3
monochromatic
#7C691D #AE9328 #D3B640 #DEC972 #EADCA3

Accessibility & contrast

On white

1.99
#D3B640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#D3B640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B640
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B640#FFFFFF#000000##000000
##D3B6401.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22F
Deuteranopia (green-blind)
#D0BB46
Tritanopia (blue-blind)
#E4A89E
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d3b640;
/* rgb */ color: rgb(211, 182, 64);
/* oklch */ color: oklch(78.0% 0.137 95.0);
Tailwind
colors: {
  custom: {
    50: '#e4cb7b',
    500: '#d3b640',
    950: '#000000',
  },
}
SCSS
$custom: #d3b640;
$custom-light: #e4cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b640",
  "rgb": {
    "r": 211,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 48.163,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78049,
    "c": 0.13714,
    "h": 95
  },
  "luminance": 0.47675
}

Semantic roles & 50–950 ramp

primary
#D3B640
secondary
#98A4D7
accent
#62E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B640

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

Preview Lab → · Contrast checker → · Palette generator →

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