#AD9D28#AD9D28

#AD9D28 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.131 H 101.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#AD9D28
RGBrgb(173, 157, 40)
HSLhsl(53, 62%, 42%)
HSVhsv(53, 77%, 68%)
CMYKcmyk(0%, 9.2%, 76.9%, 32.2%)
CIE-LABlab(64.28, -6.86, 58.90)
CIE-LCHlch(64.28, 59.30, 96.64°)
OKLaboklab(68.98% -0.0254 0.1288)
OKLCHoklch(68.98% 0.131 101.1)
XYZxyz(29.6750, 33.1528, 6.8431)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9D28 #2838AD
analogous
#AD5B28 #AD9D28 #7BAD28
triadic
#AD9D28 #28AD9D #9D28AD
tetradic
#AD9D28 #28AD5B #2838AD #AD287B
square
#AD9D28 #28AD5B #2838AD #AD287B
split-complementary
#AD9D28 #287BAD #5B28AD
monochromatic
#4A4311 #7B701D #AD9D28 #D3C13F #DED171

Accessibility & contrast

On white

2.75
#AD9D28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#AD9D28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9D28
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9D28#FFFFFF#000000##000000
##AD9D281.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC980E
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#BB9187
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad9d28;
/* rgb */ color: rgb(173, 157, 40);
/* oklch */ color: oklch(69.0% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#c9b96c',
    500: '#ad9d28',
    950: '#000000',
  },
}
SCSS
$custom: #ad9d28;
$custom-light: #c9b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9d28",
  "rgb": {
    "r": 173,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 52.782,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68978,
    "c": 0.1313,
    "h": 101.1
  },
  "luminance": 0.33151
}

Semantic roles & 50–950 ramp

primary
#AD9D28
secondary
#6C76C5
accent
#56E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9D28

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

Preview Lab → · Contrast checker → · Palette generator →

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