#D3AF2E#D3AF2E

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

Color values

HEX#D3AF2E
RGBrgb(211, 175, 46)
HSLhsl(47, 65%, 50%)
HSVhsv(47, 78%, 83%)
CMYKcmyk(0%, 17.1%, 78.2%, 17.3%)
CIE-LABlab(72.70, 0.58, 65.92)
CIE-LCHlch(72.70, 65.92, 89.49°)
OKLaboklab(76.5% -0.0057 0.1433)
OKLCHoklch(76.5% 0.143 92.3)
XYZxyz(42.6896, 44.7087, 8.9654)
Luminance0.4471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF2E #2E52D3
analogous
#D35C2E #D3AF2E #A4D32E
triadic
#D3AF2E #2ED3AF #AF2ED3
tetradic
#D3AF2E #2ED35C #2E52D3 #D32EA4
square
#D3AF2E #2ED35C #2E52D3 #D32EA4
split-complementary
#D3AF2E #2EA4D3 #5C2ED3
monochromatic
#6F5C17 #A28622 #D3AF2E #DEC261 #E8D693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF2E#FFFFFF#000000##000000
##D3AF2E1.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)
#C3AC11
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3af2e;
/* rgb */ color: rgb(211, 175, 46);
/* oklch */ color: oklch(76.5% 0.143 92.3);
Tailwind
colors: {
  custom: {
    50: '#e5c671',
    500: '#d3af2e',
    950: '#000000',
  },
}
SCSS
$custom: #d3af2e;
$custom-light: #e5c671;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af2e",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 46.909,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76496,
    "c": 0.14342,
    "h": 92.3
  },
  "luminance": 0.44706
}

Semantic roles & 50–950 ramp

primary
#D3AF2E
secondary
#8A9AD3
accent
#64E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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