#D2AF37#D2AF37

#D2AF37 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.5% C 0.138 H 92.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#D2AF37
RGBrgb(210, 175, 55)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 74%, 82%)
CMYKcmyk(0%, 16.7%, 73.8%, 17.6%)
CIE-LABlab(72.65, 0.51, 62.66)
CIE-LCHlch(72.65, 62.66, 89.53°)
OKLaboklab(76.45% -0.0049 0.1382)
OKLCHoklch(76.45% 0.138 92)
XYZxyz(42.6003, 44.6400, 9.9863)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF37 #375AD2
analogous
#D26237 #D2AF37 #A7D237
triadic
#D2AF37 #37D2AF #AF37D2
tetradic
#D2AF37 #37D262 #375AD2 #D237A7
square
#D2AF37 #37D262 #375AD2 #D237A7
split-complementary
#D2AF37 #37A7D2 #6237D2
monochromatic
#74601A #A68925 #D2AF37 #DDC369 #E8D79B

Accessibility & contrast

On white

2.12
#D2AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#D2AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF37
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF37#FFFFFF#000000##000000
##D2AF371.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#E3A197
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af37;
/* rgb */ color: rgb(210, 175, 55);
/* oklch */ color: oklch(76.5% 0.138 92.0);
Tailwind
colors: {
  custom: {
    50: '#e4c676',
    500: '#d2af37',
    950: '#000000',
  },
}
SCSS
$custom: #d2af37;
$custom-light: #e4c676;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af37",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 46.452,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76454,
    "c": 0.13828,
    "h": 92
  },
  "luminance": 0.44637
}

Semantic roles & 50–950 ramp

primary
#D2AF37
secondary
#90A0D4
accent
#67E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D2AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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