#D3B33C#D3B33C

#D3B33C is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.4% C 0.138 H 93.6°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#D3B33C
RGBrgb(211, 179, 60)
HSLhsl(47, 63%, 53%)
HSVhsv(47, 72%, 83%)
CMYKcmyk(0%, 15.2%, 71.6%, 17.3%)
CIE-LABlab(73.82, -0.93, 61.91)
CIE-LCHlch(73.82, 61.92, 90.86°)
OKLaboklab(77.4% -0.0086 0.1375)
OKLCHoklch(77.4% 0.138 93.6)
XYZxyz(43.8020, 46.4178, 10.9265)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B33C #3C5CD3
analogous
#D3673C #D3B33C #A7D33C
triadic
#D3B33C #3CD3B3 #B33CD3
tetradic
#D3B33C #3CD367 #3C5CD3 #D33CA7
square
#D3B33C #3CD367 #3C5CD3 #D33CA7
split-complementary
#D3B33C #3CA7D3 #673CD3
monochromatic
#79651B #AB8F27 #D3B33C #DEC66E #EADAA0

Accessibility & contrast

On white

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

On black

10.28
#D3B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B33C
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B33C#FFFFFF#000000##000000
##D3B33C1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#E4A59B
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d3b33c;
/* rgb */ color: rgb(211, 179, 60);
/* oklch */ color: oklch(77.4% 0.138 93.6);
Tailwind
colors: {
  custom: {
    50: '#e5c979',
    500: '#d3b33c',
    950: '#000000',
  },
}
SCSS
$custom: #d3b33c;
$custom-light: #e5c979;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b33c",
  "rgb": {
    "r": 211,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 47.285,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77404,
    "c": 0.1378,
    "h": 93.6
  },
  "luminance": 0.46415
}

Semantic roles & 50–950 ramp

primary
#D3B33C
secondary
#95A3D6
accent
#64E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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