#D3B148#D3B148

#D3B148 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.128 H 91.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D3B148
RGBrgb(211, 177, 72)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 66%, 83%)
CMYKcmyk(0%, 16.1%, 65.9%, 17.3%)
CIE-LABlab(73.39, 0.77, 56.51)
CIE-LCHlch(73.39, 56.52, 89.22°)
OKLaboklab(77.1% -0.0023 0.1281)
OKLCHoklch(77.1% 0.128 91)
XYZxyz(43.7580, 45.7635, 12.6581)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B148 #486AD3
analogous
#D36C48 #D3B148 #AFD348
triadic
#D3B148 #48D3B1 #B148D3
tetradic
#D3B148 #48D36C #486AD3 #D348AF
square
#D3B148 #48D36C #486AD3 #D348AF
split-complementary
#D3B148 #48AFD3 #6C48D3
monochromatic
#81691F #B3922B #D3B148 #DFC679 #EBDBAB

Accessibility & contrast

On white

2.07
#D3B148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D3B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B148
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B148#FFFFFF#000000##000000
##D3B1481.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3C
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#E4A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b148;
/* rgb */ color: rgb(211, 177, 72);
/* oklch */ color: oklch(77.1% 0.128 91.0);
Tailwind
colors: {
  custom: {
    50: '#e4c880',
    500: '#d3b148',
    950: '#000000',
  },
}
SCSS
$custom: #d3b148;
$custom-light: #e4c880;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b148",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 45.324,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77098,
    "c": 0.12816,
    "h": 91
  },
  "luminance": 0.45761
}

Semantic roles & 50–950 ramp

primary
#D3B148
secondary
#9EADD8
accent
#6BE443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B148

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

Preview Lab → · Contrast checker → · Palette generator →

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