#D2AF3F#D2AF3F

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

Color values

HEX#D2AF3F
RGBrgb(210, 175, 63)
HSLhsl(46, 62%, 54%)
HSVhsv(46, 70%, 82%)
CMYKcmyk(0%, 16.7%, 70%, 17.6%)
CIE-LABlab(72.71, 0.90, 59.58)
CIE-LCHlch(72.71, 59.58, 89.14°)
OKLaboklab(76.51% -0.0029 0.1332)
OKLCHoklch(76.51% 0.133 91.3)
XYZxyz(42.8078, 44.7230, 11.0793)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF3F #3F62D2
analogous
#D2653F #D2AF3F #ABD23F
triadic
#D2AF3F #3FD2AF #AF3FD2
tetradic
#D2AF3F #3FD265 #3F62D2 #D23FAB
square
#D2AF3F #3FD265 #3F62D2 #D23FAB
split-complementary
#D2AF3F #3FABD2 #653FD2
monochromatic
#7A641D #AC8C28 #D2AF3F #DEC471 #E9D8A2

Accessibility & contrast

On white

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

On black

9.94
#D2AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2AF3F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2AF3F#FFFFFF#000000##000000
##D2AF3F1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2af3f;
/* rgb */ color: rgb(210, 175, 63);
/* oklch */ color: oklch(76.5% 0.133 91.3);
Tailwind
colors: {
  custom: {
    50: '#e4c67a',
    500: '#d2af3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2af3f;
$custom-light: #e4c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af3f",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 45.714,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.13318,
    "h": 91.3
  },
  "luminance": 0.4472
}

Semantic roles & 50–950 ramp

primary
#D2AF3F
secondary
#97A6D6
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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