#D2AF39#D2AF39

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

Color values

HEX#D2AF39
RGBrgb(210, 175, 57)
HSLhsl(46, 63%, 52%)
HSVhsv(46, 73%, 82%)
CMYKcmyk(0%, 16.7%, 72.9%, 17.6%)
CIE-LABlab(72.67, 0.60, 61.91)
CIE-LCHlch(72.67, 61.91, 89.44°)
OKLaboklab(76.47% -0.0044 0.137)
OKLCHoklch(76.47% 0.137 91.9)
XYZxyz(42.6492, 44.6595, 10.2439)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF39 #395CD2
analogous
#D26339 #D2AF39 #A8D239
triadic
#D2AF39 #39D2AF #AF39D2
tetradic
#D2AF39 #39D263 #395CD2 #D239A8
square
#D2AF39 #39D263 #395CD2 #D239A8
split-complementary
#D2AF39 #39A8D2 #6339D2
monochromatic
#76611B #A88A26 #D2AF39 #DDC36B #E9D79D

Accessibility & contrast

On white

2.11
#D2AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AF39#FFFFFF#000000##000000
##D2AF391.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC27
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af39;
/* rgb */ color: rgb(210, 175, 57);
/* oklch */ color: oklch(76.5% 0.137 91.9);
Tailwind
colors: {
  custom: {
    50: '#e4c677',
    500: '#d2af39',
    950: '#000000',
  },
}
SCSS
$custom: #d2af39;
$custom-light: #e4c677;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af39",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 46.275,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76468,
    "c": 0.13706,
    "h": 91.9
  },
  "luminance": 0.44657
}

Semantic roles & 50–950 ramp

primary
#D2AF39
secondary
#92A1D5
accent
#67E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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