#D5AF3C#D5AF3C

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

Color values

HEX#D5AF3C
RGBrgb(213, 175, 60)
HSLhsl(45, 65%, 54%)
HSVhsv(45, 72%, 84%)
CMYKcmyk(0%, 17.8%, 71.8%, 16.5%)
CIE-LABlab(72.98, 2.04, 61.15)
CIE-LCHlch(72.98, 61.18, 88.09°)
OKLaboklab(76.79% -0.0002 0.1358)
OKLCHoklch(76.79% 0.136 90.1)
XYZxyz(43.5886, 45.1350, 10.6902)
Luminance0.4513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF3C #3C62D5
analogous
#D5623C #D5AF3C #AED53C
triadic
#D5AF3C #3CD5AF #AF3CD5
tetradic
#D5AF3C #3CD562 #3C62D5 #D53CAE
square
#D5AF3C #3CD562 #3C62D5 #D53CAE
split-complementary
#D5AF3C #3CAED5 #623CD5
monochromatic
#7C641B #AE8C26 #D5AF3C #E0C46E #EBD8A1

Accessibility & contrast

On white

2.09
#D5AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#D5AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5AF3C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5AF3C#FFFFFF#000000##000000
##D5AF3C1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5af3c;
/* rgb */ color: rgb(213, 175, 60);
/* oklch */ color: oklch(76.8% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e6c679',
    500: '#d5af3c',
    950: '#000000',
  },
}
SCSS
$custom: #d5af3c;
$custom-light: #e6c679;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af3c",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 45.098,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7679,
    "c": 0.13583,
    "h": 90.1
  },
  "luminance": 0.45132
}

Semantic roles & 50–950 ramp

primary
#D5AF3C
secondary
#96A6D7
accent
#6AE840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D5AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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