#D3B548#D3B548

#D3B548 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.9% C 0.131 H 93.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D3B548
RGBrgb(211, 181, 72)
HSLhsl(47, 61%, 55%)
HSVhsv(47, 66%, 83%)
CMYKcmyk(0%, 14.2%, 65.9%, 17.3%)
CIE-LABlab(74.42, -1.34, 57.61)
CIE-LCHlch(74.42, 57.63, 91.33°)
OKLaboklab(77.91% -0.0083 0.1305)
OKLCHoklch(77.91% 0.131 93.7)
XYZxyz(44.5597, 47.3669, 12.9253)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B548 #4866D3
analogous
#D36F48 #D3B548 #ACD348
triadic
#D3B548 #48D3B5 #B548D3
tetradic
#D3B548 #48D36F #4866D3 #D348AC
square
#D3B548 #48D36F #4866D3 #D348AC
split-complementary
#D3B548 #48ACD3 #6F48D3
monochromatic
#816C1F #B3952B #D3B548 #DFC979 #EBDDAB

Accessibility & contrast

On white

2.01
#D3B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#D3B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B548
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B548#FFFFFF#000000##000000
##D3B5481.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23B
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#E3A79E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d3b548;
/* rgb */ color: rgb(211, 181, 72);
/* oklch */ color: oklch(77.9% 0.131 93.7);
Tailwind
colors: {
  custom: {
    50: '#e4ca80',
    500: '#d3b548',
    950: '#000000',
  },
}
SCSS
$custom: #d3b548;
$custom-light: #e4ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b548",
  "rgb": {
    "r": 211,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 47.05,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77913,
    "c": 0.13074,
    "h": 93.7
  },
  "luminance": 0.47365
}

Semantic roles & 50–950 ramp

primary
#D3B548
secondary
#9EABD8
accent
#66E443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B548

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

Preview Lab → · Contrast checker → · Palette generator →

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