#D3AC2B#D3AC2B

#D3AC2B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.9% C 0.143 H 90.7°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D3AC2B
RGBrgb(211, 172, 43)
HSLhsl(46, 66%, 50%)
HSVhsv(46, 80%, 83%)
CMYKcmyk(0%, 18.5%, 79.6%, 17.3%)
CIE-LABlab(71.91, 2.06, 66.19)
CIE-LCHlch(71.91, 66.22, 88.21°)
OKLaboklab(75.87% -0.0018 0.1433)
OKLCHoklch(75.87% 0.143 90.7)
XYZxyz(42.0551, 43.5311, 8.4723)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AC2B #2B52D3
analogous
#D3582B #D3AC2B #A6D32B
triadic
#D3AC2B #2BD3AC #AC2BD3
tetradic
#D3AC2B #2BD358 #2B52D3 #D32BA6
square
#D3AC2B #2BD358 #2B52D3 #D32BA6
split-complementary
#D3AC2B #2BA6D3 #582BD3
monochromatic
#6D5916 #A08321 #D3AC2B #DEC05D #E8D490

Accessibility & contrast

On white

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

On black

9.71
#D3AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AC2B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AC2B#FFFFFF#000000##000000
##D3AC2B1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0A
Deuteranopia (green-blind)
#CAB533
Tritanopia (blue-blind)
#E59D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d3ac2b;
/* rgb */ color: rgb(211, 172, 43);
/* oklch */ color: oklch(75.9% 0.143 90.7);
Tailwind
colors: {
  custom: {
    50: '#e5c470',
    500: '#d3ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ac2b;
$custom-light: #e5c470;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ac2b",
  "rgb": {
    "r": 211,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 46.071,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75871,
    "c": 0.14328,
    "h": 90.7
  },
  "luminance": 0.43528
}

Semantic roles & 50–950 ramp

primary
#D3AC2B
secondary
#8799D3
accent
#66E93F
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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