#D5AF3A#D5AF3A

#D5AF3A is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.8% C 0.137 H 90.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#D5AF3A
RGBrgb(213, 175, 58)
HSLhsl(45, 65%, 53%)
HSVhsv(45, 73%, 84%)
CMYKcmyk(0%, 17.8%, 72.8%, 16.5%)
CIE-LABlab(72.97, 1.95, 61.92)
CIE-LCHlch(72.97, 61.95, 88.20°)
OKLaboklab(76.77% -0.0007 0.1371)
OKLCHoklch(76.77% 0.137 90.3)
XYZxyz(43.5367, 45.1143, 10.4170)
Luminance0.4511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF3A #3A60D5
analogous
#D5613A #D5AF3A #AED53A
triadic
#D5AF3A #3AD5AF #AF3AD5
tetradic
#D5AF3A #3AD561 #3A60D5 #D53AAE
square
#D5AF3A #3AD561 #3A60D5 #D53AAE
split-complementary
#D5AF3A #3AAED5 #613AD5
monochromatic
#7A631A #AD8C25 #D5AF3A #E0C36C #EBD89F

Accessibility & contrast

On white

2.10
#D5AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#D5AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AF3A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AF3A#FFFFFF#000000##000000
##D5AF3A1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD28
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#E6A098
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d5af3a;
/* rgb */ color: rgb(213, 175, 58);
/* oklch */ color: oklch(76.8% 0.137 90.3);
Tailwind
colors: {
  custom: {
    50: '#e6c678',
    500: '#d5af3a',
    950: '#000000',
  },
}
SCSS
$custom: #d5af3a;
$custom-light: #e6c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af3a",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 45.29,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76774,
    "c": 0.13708,
    "h": 90.3
  },
  "luminance": 0.45112
}

Semantic roles & 50–950 ramp

primary
#D5AF3A
secondary
#94A4D7
accent
#69E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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