#D3AC37#D3AC37

#D3AC37 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.137 H 89.7°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D3AC37
RGBrgb(211, 172, 55)
HSLhsl(45, 64%, 52%)
HSVhsv(45, 74%, 83%)
CMYKcmyk(0%, 18.5%, 73.9%, 17.3%)
CIE-LABlab(71.98, 2.54, 62.04)
CIE-LCHlch(71.98, 62.09, 87.66°)
OKLaboklab(75.95% 0.0008 0.1368)
OKLCHoklch(75.95% 0.137 89.7)
XYZxyz(42.3085, 43.6324, 9.8072)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AC37 #375ED3
analogous
#D35E37 #D3AC37 #ACD337
triadic
#D3AC37 #37D3AC #AC37D3
tetradic
#D3AC37 #37D35E #375ED3 #D337AC
square
#D3AC37 #37D35E #375ED3 #D337AC
split-complementary
#D3AC37 #37ACD3 #5E37D3
monochromatic
#765F1A #A88725 #D3AC37 #DEC169 #E9D69B

Accessibility & contrast

On white

2.16
#D3AC37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#D3AC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AC37
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AC37#FFFFFF#000000##000000
##D3AC371.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#E49D95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ac37;
/* rgb */ color: rgb(211, 172, 55);
/* oklch */ color: oklch(75.9% 0.137 89.7);
Tailwind
colors: {
  custom: {
    50: '#e5c476',
    500: '#d3ac37',
    950: '#000000',
  },
}
SCSS
$custom: #d3ac37;
$custom-light: #e5c476;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ac37",
  "rgb": {
    "r": 211,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 45,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75946,
    "c": 0.13684,
    "h": 89.7
  },
  "luminance": 0.4363
}

Semantic roles & 50–950 ramp

primary
#D3AC37
secondary
#91A2D5
accent
#6AE741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D3AC37

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

Preview Lab → · Contrast checker → · Palette generator →

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