#D3B82E#D3B82E

#D3B82E is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.149 H 97.4°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D3B82E
RGBrgb(211, 184, 46)
HSLhsl(50, 65%, 50%)
HSVhsv(50, 78%, 83%)
CMYKcmyk(0%, 12.8%, 78.2%, 17.3%)
CIE-LABlab(75.03, -4.13, 68.03)
CIE-LCHlch(75.03, 68.16, 93.47°)
OKLaboklab(78.34% -0.0191 0.1478)
OKLCHoklch(78.34% 0.149 97.4)
XYZxyz(44.5000, 48.3295, 9.5688)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B82E #2E49D3
analogous
#D3662E #D3B82E #9BD32E
triadic
#D3B82E #2ED3B8 #B82ED3
tetradic
#D3B82E #2ED366 #2E49D3 #D32E9B
square
#D3B82E #2ED366 #2E49D3 #D32E9B
split-complementary
#D3B82E #2E9BD3 #662ED3
monochromatic
#6F6117 #A28D22 #D3B82E #DEC961 #E8DA93

Accessibility & contrast

On white

1.97
#D3B82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#D3B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B82E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B82E#FFFFFF#000000##000000
##D3B82E1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40A
Deuteranopia (green-blind)
#D2BD38
Tritanopia (blue-blind)
#E4A99E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b82e;
/* rgb */ color: rgb(211, 184, 46);
/* oklch */ color: oklch(78.3% 0.149 97.4);
Tailwind
colors: {
  custom: {
    50: '#e5cc72',
    500: '#d3b82e',
    950: '#000000',
  },
}
SCSS
$custom: #d3b82e;
$custom-light: #e5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b82e",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 50.182,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7834,
    "c": 0.14907,
    "h": 97.4
  },
  "luminance": 0.48327
}

Semantic roles & 50–950 ramp

primary
#D3B82E
secondary
#8A96D3
accent
#5BE840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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