#D5AF39#D5AF39

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

Color values

HEX#D5AF39
RGBrgb(213, 175, 57)
HSLhsl(45, 65%, 53%)
HSVhsv(45, 73%, 84%)
CMYKcmyk(0%, 17.8%, 73.2%, 16.5%)
CIE-LABlab(72.96, 1.90, 62.30)
CIE-LCHlch(72.96, 62.33, 88.25°)
OKLaboklab(76.77% -0.0009 0.1377)
OKLCHoklch(76.77% 0.138 90.4)
XYZxyz(43.5115, 45.1042, 10.2843)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5AF39 #395FD5
analogous
#D56139 #D5AF39 #ADD539
triadic
#D5AF39 #39D5AF #AF39D5
tetradic
#D5AF39 #39D561 #395FD5 #D539AD
square
#D5AF39 #39D561 #395FD5 #D539AD
split-complementary
#D5AF39 #39ADD5 #6139D5
monochromatic
#7A621A #AC8B25 #D5AF39 #E0C36B #EAD89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5AF39#FFFFFF#000000##000000
##D5AF391.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)
#C3AD27
Deuteranopia (green-blind)
#CCB83F
Tritanopia (blue-blind)
#E7A098
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d5af39;
/* rgb */ color: rgb(213, 175, 57);
/* oklch */ color: oklch(76.8% 0.138 90.4);
Tailwind
colors: {
  custom: {
    50: '#e6c677',
    500: '#d5af39',
    950: '#000000',
  },
}
SCSS
$custom: #d5af39;
$custom-light: #e6c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d5af39",
  "rgb": {
    "r": 213,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 45.385,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76767,
    "c": 0.13769,
    "h": 90.4
  },
  "luminance": 0.45101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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