#D3AF2D#D3AF2D

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

Color values

HEX#D3AF2D
RGBrgb(211, 175, 45)
HSLhsl(47, 65%, 50%)
HSVhsv(47, 79%, 83%)
CMYKcmyk(0%, 17.1%, 78.7%, 17.3%)
CIE-LABlab(72.69, 0.55, 66.25)
CIE-LCHlch(72.69, 66.25, 89.53°)
OKLaboklab(76.49% -0.0059 0.1438)
OKLCHoklch(76.49% 0.144 92.3)
XYZxyz(42.6701, 44.7009, 8.8628)
Luminance0.4470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF2D #2D51D3
analogous
#D35C2D #D3AF2D #A4D32D
triadic
#D3AF2D #2DD3AF #AF2DD3
tetradic
#D3AF2D #2DD35C #2D51D3 #D32DA4
square
#D3AF2D #2DD35C #2D51D3 #D32DA4
split-complementary
#D3AF2D #2DA4D3 #5C2DD3
monochromatic
#6E5C17 #A18522 #D3AF2D #DEC260 #E8D692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF2D#FFFFFF#000000##000000
##D3AF2D1.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)
#C3AC0E
Deuteranopia (green-blind)
#CCB735
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af2d;
/* rgb */ color: rgb(211, 175, 45);
/* oklch */ color: oklch(76.5% 0.144 92.3);
Tailwind
colors: {
  custom: {
    50: '#e5c671',
    500: '#d3af2d',
    950: '#000000',
  },
}
SCSS
$custom: #d3af2d;
$custom-light: #e5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af2d",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 46.988,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7649,
    "c": 0.14392,
    "h": 92.3
  },
  "luminance": 0.44698
}

Semantic roles & 50–950 ramp

primary
#D3AF2D
secondary
#8999D3
accent
#64E83F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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