#D2AF45#D2AF45

#D2AF45 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.129 H 90.6°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#D2AF45
RGBrgb(210, 175, 69)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 67%, 82%)
CMYKcmyk(0%, 16.7%, 67.1%, 17.6%)
CIE-LABlab(72.76, 1.22, 57.11)
CIE-LCHlch(72.76, 57.12, 88.77°)
OKLaboklab(76.57% -0.0013 0.129)
OKLCHoklch(76.57% 0.129 90.6)
XYZxyz(42.9847, 44.7938, 12.0111)
Luminance0.4479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF45 #4568D2
analogous
#D26845 #D2AF45 #AFD245
triadic
#D2AF45 #45D2AF #AF45D2
tetradic
#D2AF45 #45D268 #4568D2 #D245AF
square
#D2AF45 #45D268 #4568D2 #D245AF
split-complementary
#D2AF45 #45AFD2 #6845D2
monochromatic
#7E661F #AF8E2A #D2AF45 #DEC476 #EAD9A8

Accessibility & contrast

On white

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

On black

9.96
#D2AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF45
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF45#FFFFFF#000000##000000
##D2AF451.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#CAB74A
Tritanopia (blue-blind)
#E3A199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af45;
/* rgb */ color: rgb(210, 175, 69);
/* oklch */ color: oklch(76.6% 0.129 90.6);
Tailwind
colors: {
  custom: {
    50: '#e3c67e',
    500: '#d2af45',
    950: '#000000',
  },
}
SCSS
$custom: #d2af45;
$custom-light: #e3c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af45",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 45.106,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76566,
    "c": 0.12897,
    "h": 90.6
  },
  "luminance": 0.44791
}

Semantic roles & 50–950 ramp

primary
#D2AF45
secondary
#9CAAD7
accent
#6BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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