#D3AB2F#D3AB2F

#D3AB2F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.7% C 0.141 H 89.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D3AB2F
RGBrgb(211, 171, 47)
HSLhsl(45, 65%, 51%)
HSVhsv(45, 78%, 83%)
CMYKcmyk(0%, 19%, 77.7%, 17.3%)
CIE-LABlab(71.68, 2.74, 64.65)
CIE-LCHlch(71.68, 64.71, 87.57°)
OKLaboklab(75.69% 0.0005 0.1408)
OKLCHoklch(75.69% 0.141 89.8)
XYZxyz(41.9425, 43.1827, 8.8147)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AB2F #2F57D3
analogous
#D3592F #D3AB2F #A9D32F
triadic
#D3AB2F #2FD3AB #AB2FD3
tetradic
#D3AB2F #2FD359 #2F57D3 #D32FA9
square
#D3AB2F #2FD359 #2F57D3 #D32FA9
split-complementary
#D3AB2F #2FA9D3 #592FD3
monochromatic
#705A18 #A28322 #D3AB2F #DEBF62 #E8D494

Accessibility & contrast

On white

2.18
#D3AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D3AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AB2F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AB2F#FFFFFF#000000##000000
##D3AB2F1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#E59C93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ab2f;
/* rgb */ color: rgb(211, 171, 47);
/* oklch */ color: oklch(75.7% 0.141 89.8);
Tailwind
colors: {
  custom: {
    50: '#e5c371',
    500: '#d3ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #d3ab2f;
$custom-light: #e5c371;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ab2f",
  "rgb": {
    "r": 211,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 45.366,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75692,
    "c": 0.14079,
    "h": 89.8
  },
  "luminance": 0.4318
}

Semantic roles & 50–950 ramp

primary
#D3AB2F
secondary
#8A9CD3
accent
#69E840
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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