#D1A928#D1A928

#D1A928 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 75.0% C 0.143 H 90.1°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D1A928
RGBrgb(209, 169, 40)
HSLhsl(46, 68%, 49%)
HSVhsv(46, 81%, 82%)
CMYKcmyk(0%, 19.1%, 80.9%, 18%)
CIE-LABlab(70.93, 2.68, 66.19)
CIE-LCHlch(70.93, 66.24, 87.68°)
OKLaboklab(75.05% -0.0002 0.1427)
OKLCHoklch(75.05% 0.143 90.1)
XYZxyz(40.8680, 42.0871, 7.9782)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1A928 #2850D1
analogous
#D15528 #D1A928 #A5D128
triadic
#D1A928 #28D1A9 #A928D1
tetradic
#D1A928 #28D155 #2850D1 #D128A5
square
#D1A928 #28D155 #2850D1 #D128A5
split-complementary
#D1A928 #28A5D1 #5528D1
monochromatic
#6A5614 #9E7F1E #D1A928 #DFBF57 #E9D28B

Accessibility & contrast

On white

2.23
#D1A928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D1A928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1A928
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1A928#FFFFFF#000000##000000
##D1A9281.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA702
Deuteranopia (green-blind)
#C7B230
Tritanopia (blue-blind)
#E39A91
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d1a928;
/* rgb */ color: rgb(209, 169, 40);
/* oklch */ color: oklch(75.0% 0.143 90.1);
Tailwind
colors: {
  custom: {
    50: '#e4c26e',
    500: '#d1a928',
    950: '#000000',
  },
}
SCSS
$custom: #d1a928;
$custom-light: #e4c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1a928",
  "rgb": {
    "r": 209,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 45.799,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75045,
    "c": 0.14274,
    "h": 90.1
  },
  "luminance": 0.42084
}

Semantic roles & 50–950 ramp

primary
#D1A928
secondary
#8295D3
accent
#66EB3D
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B

Preview Lab

Preview with #D1A928

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

Preview Lab → · Contrast checker → · Palette generator →

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