#D3B848#D3B848

#D3B848 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.133 H 95.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D3B848
RGBrgb(211, 184, 72)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 83%)
CMYKcmyk(0%, 12.8%, 65.9%, 17.3%)
CIE-LABlab(75.20, -2.91, 58.43)
CIE-LCHlch(75.20, 58.51, 92.85°)
OKLaboklab(78.53% -0.0128 0.1322)
OKLCHoklch(78.53% 0.133 95.6)
XYZxyz(45.1763, 48.6000, 13.1308)
Luminance0.4860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B848 #4863D3
analogous
#D37248 #D3B848 #A9D348
triadic
#D3B848 #48D3B8 #B848D3
tetradic
#D3B848 #48D372 #4863D3 #D348A9
square
#D3B848 #48D372 #4863D3 #D348A9
split-complementary
#D3B848 #48A9D3 #7248D3
monochromatic
#816E1F #B3982B #D3B848 #DFCB79 #EBDEAB

Accessibility & contrast

On white

1.96
#D3B848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#D3B848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B848
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B848#FFFFFF#000000##000000
##D3B8481.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E3ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b848;
/* rgb */ color: rgb(211, 184, 72);
/* oklch */ color: oklch(78.5% 0.133 95.6);
Tailwind
colors: {
  custom: {
    50: '#e4cd80',
    500: '#d3b848',
    950: '#000000',
  },
}
SCSS
$custom: #d3b848;
$custom-light: #e4cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b848",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 48.345,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78528,
    "c": 0.13284,
    "h": 95.6
  },
  "luminance": 0.48598
}

Semantic roles & 50–950 ramp

primary
#D3B848
secondary
#9EAAD8
accent
#63E443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B848

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

Preview Lab → · Contrast checker → · Palette generator →

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