#D1AC28#D1AC28

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

Color values

HEX#D1AC28
RGBrgb(209, 172, 40)
HSLhsl(47, 68%, 49%)
HSVhsv(47, 81%, 82%)
CMYKcmyk(0%, 17.7%, 80.9%, 18%)
CIE-LABlab(71.70, 1.09, 66.87)
CIE-LCHlch(71.70, 66.87, 89.06°)
OKLaboklab(75.65% -0.0047 0.1442)
OKLCHoklch(75.65% 0.144 91.9)
XYZxyz(41.4325, 43.2162, 8.1664)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1AC28 #284DD1
analogous
#D15828 #D1AC28 #A2D128
triadic
#D1AC28 #28D1AC #AC28D1
tetradic
#D1AC28 #28D158 #284DD1 #D128A2
square
#D1AC28 #28D158 #284DD1 #D128A2
split-complementary
#D1AC28 #28A2D1 #5828D1
monochromatic
#6A5714 #9E821E #D1AC28 #DFC157 #E9D48B

Accessibility & contrast

On white

2.18
#D1AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D1AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1AC28
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1AC28#FFFFFF#000000##000000
##D1AC281.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C9B431
Tritanopia (blue-blind)
#E39D94
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d1ac28;
/* rgb */ color: rgb(209, 172, 40);
/* oklch */ color: oklch(75.7% 0.144 91.9);
Tailwind
colors: {
  custom: {
    50: '#e4c46e',
    500: '#d1ac28',
    950: '#000000',
  },
}
SCSS
$custom: #d1ac28;
$custom-light: #e4c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ac28",
  "rgb": {
    "r": 209,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 46.864,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75653,
    "c": 0.14428,
    "h": 91.9
  },
  "luminance": 0.43214
}

Semantic roles & 50–950 ramp

primary
#D1AC28
secondary
#8294D3
accent
#63EB3D
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #D1AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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