#D1AD3E#D1AD3E

#D1AD3E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 76.0% C 0.132 H 90.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#D1AD3E
RGBrgb(209, 173, 62)
HSLhsl(45, 62%, 53%)
HSVhsv(45, 70%, 82%)
CMYKcmyk(0%, 17.2%, 70.3%, 18%)
CIE-LABlab(72.09, 1.47, 59.32)
CIE-LCHlch(72.09, 59.34, 88.58°)
OKLaboklab(76% -0.0013 0.1325)
OKLCHoklch(76% 0.132 90.6)
XYZxyz(42.1099, 43.7928, 10.7914)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AD3E #3E62D1
analogous
#D1633E #D1AD3E #ABD13E
triadic
#D1AD3E #3ED1AD #AD3ED1
tetradic
#D1AD3E #3ED163 #3E62D1 #D13EAB
square
#D1AD3E #3ED163 #3E62D1 #D13EAB
split-complementary
#D1AD3E #3EABD1 #633ED1
monochromatic
#78621D #A98A28 #D1AD3E #DDC26F #E9D7A1

Accessibility & contrast

On white

2.15
#D1AD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#D1AD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AD3E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AD3E#FFFFFF#000000##000000
##D1AD3E1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2F
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#E29F96
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d1ad3e;
/* rgb */ color: rgb(209, 173, 62);
/* oklch */ color: oklch(76.0% 0.132 90.6);
Tailwind
colors: {
  custom: {
    50: '#e3c57a',
    500: '#d1ad3e',
    950: '#000000',
  },
}
SCSS
$custom: #d1ad3e;
$custom-light: #e3c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ad3e",
  "rgb": {
    "r": 209,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 45.306,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76001,
    "c": 0.13249,
    "h": 90.6
  },
  "luminance": 0.4379
}

Semantic roles & 50–950 ramp

primary
#D1AD3E
secondary
#96A5D5
accent
#6BE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #D1AD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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