#D2AF41#D2AF41

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

Color values

HEX#D2AF41
RGBrgb(210, 175, 65)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 69%, 82%)
CMYKcmyk(0%, 16.7%, 69%, 17.6%)
CIE-LABlab(72.72, 1.00, 58.77)
CIE-LCHlch(72.72, 58.78, 89.02°)
OKLaboklab(76.53% -0.0024 0.1318)
OKLCHoklch(76.53% 0.132 91)
XYZxyz(42.8647, 44.7458, 11.3790)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF41 #4164D2
analogous
#D26741 #D2AF41 #ADD241
triadic
#D2AF41 #41D2AF #AF41D2
tetradic
#D2AF41 #41D267 #4164D2 #D241AD
square
#D2AF41 #41D267 #4164D2 #D241AD
split-complementary
#D2AF41 #41ADD2 #6741D2
monochromatic
#7B651D #AD8D29 #D2AF41 #DEC472 #E9D9A4

Accessibility & contrast

On white

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

On black

9.95
#D2AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF41
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF41#FFFFFF#000000##000000
##D2AF411.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2af41;
/* rgb */ color: rgb(210, 175, 65);
/* oklch */ color: oklch(76.5% 0.132 91.0);
Tailwind
colors: {
  custom: {
    50: '#e4c67b',
    500: '#d2af41',
    950: '#000000',
  },
}
SCSS
$custom: #d2af41;
$custom-light: #e4c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af41",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 45.517,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76531,
    "c": 0.13181,
    "h": 91
  },
  "luminance": 0.44743
}

Semantic roles & 50–950 ramp

primary
#D2AF41
secondary
#98A7D6
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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