#D3AF3B#D3AF3B

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

Color values

HEX#D3AF3B
RGBrgb(211, 175, 59)
HSLhsl(46, 63%, 53%)
HSVhsv(46, 72%, 83%)
CMYKcmyk(0%, 17.1%, 72%, 17.3%)
CIE-LABlab(72.78, 1.13, 61.28)
CIE-LCHlch(72.78, 61.29, 88.94°)
OKLaboklab(76.58% -0.0028 0.136)
OKLCHoklch(76.58% 0.136 91.2)
XYZxyz(42.9857, 44.8272, 10.5252)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AF3B #3B5FD3
analogous
#D3633B #D3AF3B #ABD33B
triadic
#D3AF3B #3BD3AF #AF3BD3
tetradic
#D3AF3B #3BD363 #3B5FD3 #D33BAB
square
#D3AF3B #3BD363 #3B5FD3 #D33BAB
split-complementary
#D3AF3B #3BABD3 #633BD3
monochromatic
#79621B #AB8B26 #D3AF3B #DEC36D #E9D89F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3AF3B#FFFFFF#000000##000000
##D3AF3B1.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)
#C2AD2A
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d3af3b;
/* rgb */ color: rgb(211, 175, 59);
/* oklch */ color: oklch(76.6% 0.136 91.2);
Tailwind
colors: {
  custom: {
    50: '#e5c678',
    500: '#d3af3b',
    950: '#000000',
  },
}
SCSS
$custom: #d3af3b;
$custom-light: #e5c678;
$custom-dark: #000000;
JSON
{
  "hex": "#d3af3b",
  "rgb": {
    "r": 211,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 45.789,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76582,
    "c": 0.13602,
    "h": 91.2
  },
  "luminance": 0.44825
}

Semantic roles & 50–950 ramp

primary
#D3AF3B
secondary
#94A4D6
accent
#68E641
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3AF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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