#D3AD38#D3AD38

#D3AD38 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.2% C 0.137 H 90.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#D3AD38
RGBrgb(211, 173, 56)
HSLhsl(45, 64%, 52%)
HSVhsv(45, 73%, 83%)
CMYKcmyk(0%, 18%, 73.5%, 17.3%)
CIE-LABlab(72.24, 2.05, 61.92)
CIE-LCHlch(72.24, 61.95, 88.10°)
OKLaboklab(76.16% -0.0005 0.1368)
OKLCHoklch(76.16% 0.137 90.2)
XYZxyz(42.5238, 44.0242, 9.9984)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AD38 #385ED3
analogous
#D35F38 #D3AD38 #ACD338
triadic
#D3AD38 #38D3AD #AD38D3
tetradic
#D3AD38 #38D35F #385ED3 #D338AC
square
#D3AD38 #38D35F #385ED3 #D338AC
split-complementary
#D3AD38 #38ACD3 #5F38D3
monochromatic
#76601A #A98825 #D3AD38 #DEC26A #E9D69C

Accessibility & contrast

On white

2.14
#D3AD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#D3AD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AD38
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AD38#FFFFFF#000000##000000
##D3AD381.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB26
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#E49E96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d3ad38;
/* rgb */ color: rgb(211, 173, 56);
/* oklch */ color: oklch(76.2% 0.137 90.2);
Tailwind
colors: {
  custom: {
    50: '#e5c576',
    500: '#d3ad38',
    950: '#000000',
  },
}
SCSS
$custom: #d3ad38;
$custom-light: #e5c576;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ad38",
  "rgb": {
    "r": 211,
    "g": 173,
    "b": 56
  },
  "hsl": {
    "h": 45.29,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.13677,
    "h": 90.2
  },
  "luminance": 0.44022
}

Semantic roles & 50–950 ramp

primary
#D3AD38
secondary
#92A2D5
accent
#6AE741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #D3AD38

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

Preview Lab → · Contrast checker → · Palette generator →

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