#D7AF37#D7AF37

#D7AF37 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 77.0% C 0.139 H 89.6°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#D7AF37
RGBrgb(215, 175, 55)
HSLhsl(45, 67%, 53%)
HSVhsv(45, 74%, 84%)
CMYKcmyk(0%, 18.6%, 74.4%, 15.7%)
CIE-LABlab(73.15, 2.68, 63.30)
CIE-LCHlch(73.15, 63.36, 87.58°)
OKLaboklab(76.95% 0.001 0.1394)
OKLCHoklch(76.95% 0.139 89.6)
XYZxyz(44.0465, 45.3857, 10.0540)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7AF37 #375FD7
analogous
#D75F37 #D7AF37 #AFD737
triadic
#D7AF37 #37D7AF #AF37D7
tetradic
#D7AF37 #37D75F #375FD7 #D737AF
square
#D7AF37 #37D75F #375FD7 #D737AF
split-complementary
#D7AF37 #37AFD7 #5F37D7
monochromatic
#7B6219 #AE8B23 #D7AF37 #E1C36A #EBD89D

Accessibility & contrast

On white

2.08
#D7AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#D7AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7AF37
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7AF37#FFFFFF#000000##000000
##D7AF371.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#E9A097
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d7af37;
/* rgb */ color: rgb(215, 175, 55);
/* oklch */ color: oklch(77.0% 0.139 89.6);
Tailwind
colors: {
  custom: {
    50: '#e8c676',
    500: '#d7af37',
    950: '#000000',
  },
}
SCSS
$custom: #d7af37;
$custom-light: #e8c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d7af37",
  "rgb": {
    "r": 215,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.13935,
    "h": 89.6
  },
  "luminance": 0.45383
}

Semantic roles & 50–950 ramp

primary
#D7AF37
secondary
#92A4D7
accent
#69EA3E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D7AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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