#D3AB2C#D3AB2C

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

Color values

HEX#D3AB2C
RGBrgb(211, 171, 44)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 19%, 79.1%, 17.3%)
CIE-LABlab(71.66, 2.63, 65.64)
CIE-LCHlch(71.66, 65.70, 87.71°)
OKLaboklab(75.67% -0.0001 0.1423)
OKLCHoklch(75.67% 0.142 90)
XYZxyz(41.8840, 43.1593, 8.5069)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AB2C #2C54D3
analogous
#D3582C #D3AB2C #A7D32C
triadic
#D3AB2C #2CD3AB #AB2CD3
tetradic
#D3AB2C #2CD358 #2C54D3 #D32CA7
square
#D3AB2C #2CD358 #2C54D3 #D32CA7
split-complementary
#D3AB2C #2CA7D3 #582CD3
monochromatic
#6E5917 #A08221 #D3AB2C #DEBF5F #E8D391

Accessibility & contrast

On white

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

On black

9.63
#D3AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AB2C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AB2C#FFFFFF#000000##000000
##D3AB2C1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3ab2c;
/* rgb */ color: rgb(211, 171, 44);
/* oklch */ color: oklch(75.7% 0.142 90.0);
Tailwind
colors: {
  custom: {
    50: '#e5c370',
    500: '#d3ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #d3ab2c;
$custom-light: #e5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ab2c",
  "rgb": {
    "r": 211,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 45.629,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.75674,
    "c": 0.14229,
    "h": 90
  },
  "luminance": 0.43157
}

Semantic roles & 50–950 ramp

primary
#D3AB2C
secondary
#889AD3
accent
#68E83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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