#D3B954#D3B954

#D3B954 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.124 H 95.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D3B954
RGBrgb(211, 185, 84)
HSLhsl(48, 59%, 58%)
HSVhsv(48, 60%, 83%)
CMYKcmyk(0%, 12.3%, 60.2%, 17.3%)
CIE-LABlab(75.57, -2.66, 53.52)
CIE-LCHlch(75.57, 53.59, 92.84°)
OKLaboklab(78.85% -0.0107 0.1235)
OKLCHoklch(78.85% 0.124 95)
XYZxyz(45.8151, 49.1891, 15.4670)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B954 #546ED3
analogous
#D37A54 #D3B954 #ADD354
triadic
#D3B954 #54D3B9 #B954D3
tetradic
#D3B954 #54D37A #546ED3 #D354AD
square
#D3B954 #54D37A #546ED3 #D354AD
split-complementary
#D3B954 #54ADD3 #7A54D3
monochromatic
#897423 #BA9E30 #D3B954 #E0CD85 #ECE1B5

Accessibility & contrast

On white

1.94
#D3B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#D3B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B954
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B954#FFFFFF#000000##000000
##D3B9541.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB549
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#E3ACA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d3b954;
/* rgb */ color: rgb(211, 185, 84);
/* oklch */ color: oklch(78.9% 0.124 95.0);
Tailwind
colors: {
  custom: {
    50: '#e3cd88',
    500: '#d3b954',
    950: '#000000',
  },
}
SCSS
$custom: #d3b954;
$custom-light: #e3cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b954",
  "rgb": {
    "r": 211,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 47.717,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78853,
    "c": 0.12395,
    "h": 95
  },
  "luminance": 0.49187
}

Semantic roles & 50–950 ramp

primary
#D3B954
secondary
#A8B2DB
accent
#66E246
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D3B954

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

Preview Lab → · Contrast checker → · Palette generator →

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