#D1AF36#D1AF36

#D1AF36 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.139 H 92.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#D1AF36
RGBrgb(209, 175, 54)
HSLhsl(47, 63%, 52%)
HSVhsv(47, 74%, 82%)
CMYKcmyk(0%, 16.3%, 74.2%, 18%)
CIE-LABlab(72.55, 0.04, 62.90)
CIE-LCHlch(72.55, 62.90, 89.97°)
OKLaboklab(76.35% -0.0063 0.1386)
OKLCHoklch(76.35% 0.139 92.6)
XYZxyz(42.2927, 44.4841, 9.8480)
Luminance0.4448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AF36 #3658D1
analogous
#D16236 #D1AF36 #A5D136
triadic
#D1AF36 #36D1AF #AF36D1
tetradic
#D1AF36 #36D162 #3658D1 #D136A5
square
#D1AF36 #36D162 #3658D1 #D136A5
split-complementary
#D1AF36 #36A5D1 #6236D1
monochromatic
#725F1A #A48826 #D1AF36 #DCC368 #E8D79A

Accessibility & contrast

On white

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

On black

9.90
#D1AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AF36
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AF36#FFFFFF#000000##000000
##D1AF361.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#E2A197
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d1af36;
/* rgb */ color: rgb(209, 175, 54);
/* oklch */ color: oklch(76.3% 0.139 92.6);
Tailwind
colors: {
  custom: {
    50: '#e3c675',
    500: '#d1af36',
    950: '#000000',
  },
}
SCSS
$custom: #d1af36;
$custom-light: #e3c675;
$custom-dark: #000000;
JSON
{
  "hex": "#d1af36",
  "rgb": {
    "r": 209,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 46.839,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76348,
    "c": 0.1387,
    "h": 92.6
  },
  "luminance": 0.44482
}

Semantic roles & 50–950 ramp

primary
#D1AF36
secondary
#8F9ED3
accent
#66E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D1AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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