#D1AC3C#D1AC3C

#D1AC3C is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.8% C 0.133 H 90.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D1AC3C
RGBrgb(209, 172, 60)
HSLhsl(45, 62%, 53%)
HSVhsv(45, 71%, 82%)
CMYKcmyk(0%, 17.7%, 71.3%, 18%)
CIE-LABlab(71.82, 1.90, 59.86)
CIE-LCHlch(71.82, 59.89, 88.18°)
OKLaboklab(75.78% -0.0003 0.1333)
OKLCHoklch(75.78% 0.133 90.1)
XYZxyz(41.8650, 43.3892, 10.4440)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AC3C #3C61D1
analogous
#D1623C #D1AC3C #ABD13C
triadic
#D1AC3C #3CD1AC #AC3CD1
tetradic
#D1AC3C #3CD162 #3C61D1 #D13CAB
square
#D1AC3C #3CD162 #3C61D1 #D13CAB
split-complementary
#D1AC3C #3CABD1 #623CD1
monochromatic
#77601C #A88828 #D1AC3C #DDC16E #E8D69F

Accessibility & contrast

On white

2.17
#D1AC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#D1AC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AC3C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AC3C#FFFFFF#000000##000000
##D1AC3C1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#E29E95
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d1ac3c;
/* rgb */ color: rgb(209, 172, 60);
/* oklch */ color: oklch(75.8% 0.133 90.1);
Tailwind
colors: {
  custom: {
    50: '#e3c478',
    500: '#d1ac3c',
    950: '#000000',
  },
}
SCSS
$custom: #d1ac3c;
$custom-light: #e3c478;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ac3c",
  "rgb": {
    "r": 209,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 45.101,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75782,
    "c": 0.13325,
    "h": 90.1
  },
  "luminance": 0.43387
}

Semantic roles & 50–950 ramp

primary
#D1AC3C
secondary
#94A4D5
accent
#6BE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D1AC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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