#AD9B28#AD9B28

#AD9B28 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.5% C 0.130 H 99.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AD9B28
RGBrgb(173, 155, 40)
HSLhsl(52, 62%, 42%)
HSVhsv(52, 77%, 68%)
CMYKcmyk(0%, 10.4%, 76.9%, 32.2%)
CIE-LABlab(63.74, -5.79, 58.40)
CIE-LCHlch(63.74, 58.69, 95.66°)
OKLaboklab(68.55% -0.0223 0.1278)
OKLCHoklch(68.55% 0.13 99.9)
XYZxyz(29.3394, 32.4816, 6.7312)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9B28 #283AAD
analogous
#AD5928 #AD9B28 #7DAD28
triadic
#AD9B28 #28AD9B #9B28AD
tetradic
#AD9B28 #28AD59 #283AAD #AD287D
square
#AD9B28 #28AD59 #283AAD #AD287D
split-complementary
#AD9B28 #287DAD #5928AD
monochromatic
#4A4211 #7B6E1D #AD9B28 #D3BF3F #DECF71

Accessibility & contrast

On white

2.80
#AD9B28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AD9B28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9B28
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9B28#FFFFFF#000000##000000
##AD9B281.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA970F
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#BB8F85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ad9b28;
/* rgb */ color: rgb(173, 155, 40);
/* oklch */ color: oklch(68.5% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#c9b86b',
    500: '#ad9b28',
    950: '#000000',
  },
}
SCSS
$custom: #ad9b28;
$custom-light: #c9b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9b28",
  "rgb": {
    "r": 173,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 51.88,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.1297,
    "h": 99.9
  },
  "luminance": 0.3248
}

Semantic roles & 50–950 ramp

primary
#AD9B28
secondary
#6C78C5
accent
#58E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9B28

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

Preview Lab → · Contrast checker → · Palette generator →

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