#D3B348#D3B348

#D3B348 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.129 H 92.4°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#D3B348
RGBrgb(211, 179, 72)
HSLhsl(46, 61%, 55%)
HSVhsv(46, 66%, 83%)
CMYKcmyk(0%, 15.2%, 65.9%, 17.3%)
CIE-LABlab(73.91, -0.28, 57.06)
CIE-LCHlch(73.91, 57.06, 90.29°)
OKLaboklab(77.51% -0.0053 0.1293)
OKLCHoklch(77.51% 0.129 92.4)
XYZxyz(44.1560, 46.5594, 12.7907)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B348 #4868D3
analogous
#D36D48 #D3B348 #ADD348
triadic
#D3B348 #48D3B3 #B348D3
tetradic
#D3B348 #48D36D #4868D3 #D348AD
square
#D3B348 #48D36D #4868D3 #D348AD
split-complementary
#D3B348 #48ADD3 #6D48D3
monochromatic
#816B1F #B3942B #D3B348 #DFC779 #EBDCAB

Accessibility & contrast

On white

2.04
#D3B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#D3B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B348
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B348#FFFFFF#000000##000000
##D3B3481.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03B
Deuteranopia (green-blind)
#CDBA4D
Tritanopia (blue-blind)
#E3A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b348;
/* rgb */ color: rgb(211, 179, 72);
/* oklch */ color: oklch(77.5% 0.129 92.4);
Tailwind
colors: {
  custom: {
    50: '#e4c980',
    500: '#d3b348',
    950: '#000000',
  },
}
SCSS
$custom: #d3b348;
$custom-light: #e4c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b348",
  "rgb": {
    "r": 211,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 46.187,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.12942,
    "h": 92.4
  },
  "luminance": 0.46557
}

Semantic roles & 50–950 ramp

primary
#D3B348
secondary
#9EACD8
accent
#68E443
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B348

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

Preview Lab → · Contrast checker → · Palette generator →

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