#D1AF3E#D1AF3E

#D1AF3E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.134 H 91.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#D1AF3E
RGBrgb(209, 175, 62)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.3%, 70.3%, 18%)
CIE-LABlab(72.60, 0.41, 59.84)
CIE-LCHlch(72.60, 59.85, 89.60°)
OKLaboklab(76.41% -0.0044 0.1336)
OKLCHoklch(76.41% 0.134 91.9)
XYZxyz(42.4962, 44.5655, 10.9202)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF3E #3E60D1
analogous
#D1653E #D1AF3E #AAD13E
triadic
#D1AF3E #3ED1AF #AF3ED1
tetradic
#D1AF3E #3ED165 #3E60D1 #D13EAA
square
#D1AF3E #3ED165 #3E60D1 #D13EAA
split-complementary
#D1AF3E #3EAAD1 #653ED1
monochromatic
#78631D #A98C28 #D1AF3E #DDC36F #E9D8A1

Accessibility & contrast

On white

2.12
#D1AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#D1AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AF3E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AF3E#FFFFFF#000000##000000
##D1AF3E1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2E
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#E2A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af3e;
/* rgb */ color: rgb(209, 175, 62);
/* oklch */ color: oklch(76.4% 0.134 91.9);
Tailwind
colors: {
  custom: {
    50: '#e3c67a',
    500: '#d1af3e',
    950: '#000000',
  },
}
SCSS
$custom: #d1af3e;
$custom-light: #e3c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af3e",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 46.122,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76407,
    "c": 0.13365,
    "h": 91.9
  },
  "luminance": 0.44563
}

Semantic roles & 50–950 ramp

primary
#D1AF3E
secondary
#96A4D5
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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