#D3AB2D#D3AB2D

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

Color values

HEX#D3AB2D
RGBrgb(211, 171, 45)
HSLhsl(46, 65%, 50%)
HSVhsv(46, 79%, 83%)
CMYKcmyk(0%, 19%, 78.7%, 17.3%)
CIE-LABlab(71.67, 2.67, 65.32)
CIE-LCHlch(71.67, 65.37, 87.66°)
OKLaboklab(75.68% 0.0001 0.1418)
OKLCHoklch(75.68% 0.142 89.9)
XYZxyz(41.9031, 43.1669, 8.6071)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AB2D #2D55D3
analogous
#D3582D #D3AB2D #A8D32D
triadic
#D3AB2D #2DD3AB #AB2DD3
tetradic
#D3AB2D #2DD358 #2D55D3 #D32DA8
square
#D3AB2D #2DD358 #2D55D3 #D32DA8
split-complementary
#D3AB2D #2DA8D3 #582DD3
monochromatic
#6E5917 #A18222 #D3AB2D #DEBF60 #E8D392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AB2D#FFFFFF#000000##000000
##D3AB2D1.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)
#BFA911
Deuteranopia (green-blind)
#C9B435
Tritanopia (blue-blind)
#E59C93
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ab2d;
/* rgb */ color: rgb(211, 171, 45);
/* oklch */ color: oklch(75.7% 0.142 89.9);
Tailwind
colors: {
  custom: {
    50: '#e5c370',
    500: '#d3ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #d3ab2d;
$custom-light: #e5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ab2d",
  "rgb": {
    "r": 211,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 45.542,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7568,
    "c": 0.1418,
    "h": 89.9
  },
  "luminance": 0.43164
}

Semantic roles & 50–950 ramp

primary
#D3AB2D
secondary
#899BD3
accent
#68E83F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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