#AD9728#AD9728

#AD9728 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.127 H 97.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#AD9728
RGBrgb(173, 151, 40)
HSLhsl(50, 62%, 42%)
HSVhsv(50, 77%, 68%)
CMYKcmyk(0%, 12.7%, 76.9%, 32.2%)
CIE-LABlab(62.65, -3.64, 57.39)
CIE-LCHlch(62.65, 57.51, 93.63°)
OKLaboklab(67.68% -0.0163 0.1256)
OKLCHoklch(67.68% 0.127 97.4)
XYZxyz(28.6847, 31.1722, 6.5130)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9728 #283EAD
analogous
#AD5528 #AD9728 #81AD28
triadic
#AD9728 #28AD97 #9728AD
tetradic
#AD9728 #28AD55 #283EAD #AD2881
square
#AD9728 #28AD55 #283EAD #AD2881
split-complementary
#AD9728 #2881AD #5528AD
monochromatic
#4A4011 #7B6C1D #AD9728 #D3BA3F #DECC71

Accessibility & contrast

On white

2.90
#AD9728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#AD9728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9728
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9728#FFFFFF#000000##000000
##AD97281.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79311
Deuteranopia (green-blind)
#AC9B2F
Tritanopia (blue-blind)
#BB8B82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ad9728;
/* rgb */ color: rgb(173, 151, 40);
/* oklch */ color: oklch(67.7% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#c9b56b',
    500: '#ad9728',
    950: '#000000',
  },
}
SCSS
$custom: #ad9728;
$custom-light: #c9b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9728",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 50.075,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.12665,
    "h": 97.4
  },
  "luminance": 0.31171
}

Semantic roles & 50–950 ramp

primary
#AD9728
secondary
#6C7AC5
accent
#5DE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9728

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

Preview Lab → · Contrast checker → · Palette generator →

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