#D3B352#D3B352

#D3B352 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.121 H 91.1°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#D3B352
RGBrgb(211, 179, 82)
HSLhsl(45, 59%, 57%)
HSVhsv(45, 61%, 83%)
CMYKcmyk(0%, 15.2%, 61.1%, 17.3%)
CIE-LABlab(74.00, 0.35, 52.68)
CIE-LCHlch(74.00, 52.68, 89.62°)
OKLaboklab(77.61% -0.0023 0.1214)
OKLCHoklch(77.61% 0.121 91.1)
XYZxyz(44.5091, 46.7007, 14.6507)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B352 #5272D3
analogous
#D37252 #D3B352 #B3D352
triadic
#D3B352 #52D3B3 #B352D3
tetradic
#D3B352 #52D372 #5272D3 #D352B3
square
#D3B352 #52D372 #5272D3 #D352B3
split-complementary
#D3B352 #52B3D3 #7252D3
monochromatic
#886F23 #B9972F #D3B352 #DFC883 #ECDEB4

Accessibility & contrast

On white

2.03
#D3B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#D3B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B352
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B352#FFFFFF#000000##000000
##D3B3521.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CDBA56
Tritanopia (blue-blind)
#E3A69E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d3b352;
/* rgb */ color: rgb(211, 179, 82);
/* oklch */ color: oklch(77.6% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#e4c986',
    500: '#d3b352',
    950: '#000000',
  },
}
SCSS
$custom: #d3b352;
$custom-light: #e4c986;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b352",
  "rgb": {
    "r": 211,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 45.116,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77606,
    "c": 0.12145,
    "h": 91.1
  },
  "luminance": 0.46698
}

Semantic roles & 50–950 ramp

primary
#D3B352
secondary
#A6B3DA
accent
#6CE345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B352

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

Preview Lab → · Contrast checker → · Palette generator →

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