#D2AF3D#D2AF3D

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

Color values

HEX#D2AF3D
RGBrgb(210, 175, 61)
HSLhsl(46, 62%, 53%)
HSVhsv(46, 71%, 82%)
CMYKcmyk(0%, 16.7%, 71%, 17.6%)
CIE-LABlab(72.69, 0.80, 60.37)
CIE-LCHlch(72.69, 60.37, 89.24°)
OKLaboklab(76.5% -0.0034 0.1345)
OKLCHoklch(76.5% 0.135 91.5)
XYZxyz(42.7529, 44.7010, 10.7903)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2AF3D #3D60D2
analogous
#D2643D #D2AF3D #AAD23D
triadic
#D2AF3D #3DD2AF #AF3DD2
tetradic
#D2AF3D #3DD264 #3D60D2 #D23DAA
square
#D2AF3D #3DD264 #3D60D2 #D23DAA
split-complementary
#D2AF3D #3DAAD2 #643DD2
monochromatic
#79631C #AA8C28 #D2AF3D #DEC36F #E9D8A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2AF3D#FFFFFF#000000##000000
##D2AF3D1.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)
#C2AD2D
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d2af3d;
/* rgb */ color: rgb(210, 175, 61);
/* oklch */ color: oklch(76.5% 0.135 91.5);
Tailwind
colors: {
  custom: {
    50: '#e4c679',
    500: '#d2af3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2af3d;
$custom-light: #e4c679;
$custom-dark: #000000;
JSON
{
  "hex": "#d2af3d",
  "rgb": {
    "r": 210,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 45.906,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76498,
    "c": 0.13451,
    "h": 91.5
  },
  "luminance": 0.44699
}

Semantic roles & 50–950 ramp

primary
#D2AF3D
secondary
#95A4D6
accent
#69E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D2AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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