#AD9928#AD9928

#AD9928 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.128 H 98.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AD9928
RGBrgb(173, 153, 40)
HSLhsl(51, 62%, 42%)
HSVhsv(51, 77%, 68%)
CMYKcmyk(0%, 11.6%, 76.9%, 32.2%)
CIE-LABlab(63.20, -4.71, 57.89)
CIE-LCHlch(63.20, 58.09, 94.66°)
OKLaboklab(68.11% -0.0193 0.1267)
OKLCHoklch(68.11% 0.128 98.7)
XYZxyz(29.0093, 31.8214, 6.6212)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9928 #283CAD
analogous
#AD5628 #AD9928 #7FAD28
triadic
#AD9928 #28AD99 #9928AD
tetradic
#AD9928 #28AD56 #283CAD #AD287F
square
#AD9928 #28AD56 #283CAD #AD287F
split-complementary
#AD9928 #287FAD #5628AD
monochromatic
#4A4111 #7B6D1D #AD9928 #D3BD3F #DECE71

Accessibility & contrast

On white

2.85
#AD9928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AD9928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9928
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9928#FFFFFF#000000##000000
##AD99281.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99510
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#BB8D83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ad9928;
/* rgb */ color: rgb(173, 153, 40);
/* oklch */ color: oklch(68.1% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#c9b66b',
    500: '#ad9928',
    950: '#000000',
  },
}
SCSS
$custom: #ad9928;
$custom-light: #c9b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9928",
  "rgb": {
    "r": 173,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 50.977,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.12814,
    "h": 98.7
  },
  "luminance": 0.3182
}

Semantic roles & 50–950 ramp

primary
#AD9928
secondary
#6C79C5
accent
#5BE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9928

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

Preview Lab → · Contrast checker → · Palette generator →

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