#D6AF37#D6AF37

#D6AF37 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.9% C 0.139 H 90.1°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#D6AF37
RGBrgb(214, 175, 55)
HSLhsl(45, 66%, 53%)
HSVhsv(45, 74%, 84%)
CMYKcmyk(0%, 18.2%, 74.3%, 16.1%)
CIE-LABlab(73.05, 2.25, 63.17)
CIE-LCHlch(73.05, 63.21, 87.96°)
OKLaboklab(76.85% -0.0002 0.1391)
OKLCHoklch(76.85% 0.139 90.1)
XYZxyz(43.7536, 45.2347, 10.0403)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6AF37 #375ED6
analogous
#D65F37 #D6AF37 #ADD637
triadic
#D6AF37 #37D6AF #AF37D6
tetradic
#D6AF37 #37D65F #375ED6 #D637AD
square
#D6AF37 #37D65F #375ED6 #D637AD
split-complementary
#D6AF37 #37ADD6 #5F37D6
monochromatic
#7A6219 #AC8B23 #D6AF37 #E0C36A #EBD89D

Accessibility & contrast

On white

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

On black

10.05
#D6AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6AF37
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6AF37#FFFFFF#000000##000000
##D6AF371.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD23
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#E8A097
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d6af37;
/* rgb */ color: rgb(214, 175, 55);
/* oklch */ color: oklch(76.9% 0.139 90.1);
Tailwind
colors: {
  custom: {
    50: '#e7c676',
    500: '#d6af37',
    950: '#000000',
  },
}
SCSS
$custom: #d6af37;
$custom-light: #e7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d6af37",
  "rgb": {
    "r": 214,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 45.283,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76853,
    "c": 0.13912,
    "h": 90.1
  },
  "luminance": 0.45232
}

Semantic roles & 50–950 ramp

primary
#D6AF37
secondary
#92A3D7
accent
#69E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D6AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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