#D3AE2B#D3AE2B

#D3AE2B is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.144 H 91.9°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#D3AE2B
RGBrgb(211, 174, 43)
HSLhsl(47, 66%, 50%)
HSVhsv(47, 80%, 83%)
CMYKcmyk(0%, 17.5%, 79.6%, 17.3%)
CIE-LABlab(72.43, 1.01, 66.65)
CIE-LCHlch(72.43, 66.66, 89.13°)
OKLaboklab(76.28% -0.0048 0.1443)
OKLCHoklch(76.28% 0.144 91.9)
XYZxyz(42.4386, 44.2981, 8.6001)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3AE2B #2B50D3
analogous
#D35A2B #D3AE2B #A4D32B
triadic
#D3AE2B #2BD3AE #AE2BD3
tetradic
#D3AE2B #2BD35A #2B50D3 #D32BA4
square
#D3AE2B #2BD35A #2B50D3 #D32BA4
split-complementary
#D3AE2B #2BA4D3 #5A2BD3
monochromatic
#6D5A16 #A08421 #D3AE2B #DEC25D #E8D590

Accessibility & contrast

On white

2.13
#D3AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#D3AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3AE2B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3AE2B#FFFFFF#000000##000000
##D3AE2B1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB08
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#E59F96
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d3ae2b;
/* rgb */ color: rgb(211, 174, 43);
/* oklch */ color: oklch(76.3% 0.144 91.9);
Tailwind
colors: {
  custom: {
    50: '#e5c570',
    500: '#d3ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #d3ae2b;
$custom-light: #e5c570;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ae2b",
  "rgb": {
    "r": 211,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 46.786,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76276,
    "c": 0.14434,
    "h": 91.9
  },
  "luminance": 0.44295
}

Semantic roles & 50–950 ramp

primary
#D3AE2B
secondary
#8798D3
accent
#64E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D3AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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