#AD9C28#AD9C28

#AD9C28 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.8% C 0.130 H 100.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AD9C28
RGBrgb(173, 156, 40)
HSLhsl(52, 62%, 42%)
HSVhsv(52, 77%, 68%)
CMYKcmyk(0%, 9.8%, 76.9%, 32.2%)
CIE-LABlab(64.01, -6.32, 58.65)
CIE-LCHlch(64.01, 58.99, 96.15°)
OKLaboklab(68.76% -0.0239 0.1283)
OKLCHoklch(68.76% 0.13 100.5)
XYZxyz(29.5065, 32.8158, 6.7869)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9C28 #2839AD
analogous
#AD5A28 #AD9C28 #7CAD28
triadic
#AD9C28 #28AD9C #9C28AD
tetradic
#AD9C28 #28AD5A #2839AD #AD287C
square
#AD9C28 #28AD5A #2839AD #AD287C
split-complementary
#AD9C28 #287CAD #5A28AD
monochromatic
#4A4211 #7B6F1D #AD9C28 #D3C03F #DED071

Accessibility & contrast

On white

2.78
#AD9C28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AD9C28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9C28
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9C28#FFFFFF#000000##000000
##AD9C281.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970F
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#BB9086
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad9c28;
/* rgb */ color: rgb(173, 156, 40);
/* oklch */ color: oklch(68.8% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#c9b86b',
    500: '#ad9c28',
    950: '#000000',
  },
}
SCSS
$custom: #ad9c28;
$custom-light: #c9b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9c28",
  "rgb": {
    "r": 173,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 52.331,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68761,
    "c": 0.13049,
    "h": 100.5
  },
  "luminance": 0.32814
}

Semantic roles & 50–950 ramp

primary
#AD9C28
secondary
#6C77C5
accent
#57E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9C28

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

Preview Lab → · Contrast checker → · Palette generator →

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