#AD9729#AD9729

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

Color values

HEX#AD9729
RGBrgb(173, 151, 41)
HSLhsl(50, 62%, 42%)
HSVhsv(50, 76%, 68%)
CMYKcmyk(0%, 12.7%, 76.3%, 32.2%)
CIE-LABlab(62.66, -3.60, 57.04)
CIE-LCHlch(62.66, 57.15, 93.61°)
OKLaboklab(67.69% -0.016 0.1251)
OKLCHoklch(67.69% 0.126 97.3)
XYZxyz(28.7019, 31.1791, 6.6038)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9729 #293FAD
analogous
#AD5529 #AD9729 #81AD29
triadic
#AD9729 #29AD97 #9729AD
tetradic
#AD9729 #29AD55 #293FAD #AD2981
square
#AD9729 #29AD55 #293FAD #AD2981
split-complementary
#AD9729 #2981AD #5529AD
monochromatic
#4A4112 #7C6C1D #AD9729 #D2BA41 #DECC73

Accessibility & contrast

On white

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

On black

7.24
#AD9729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9729
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9729#FFFFFF#000000##000000
##AD97291.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79314
Deuteranopia (green-blind)
#AC9B30
Tritanopia (blue-blind)
#BB8B82
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9729;
/* rgb */ color: rgb(173, 151, 41);
/* oklch */ color: oklch(67.7% 0.126 97.3);
Tailwind
colors: {
  custom: {
    50: '#c9b56b',
    500: '#ad9729',
    950: '#000000',
  },
}
SCSS
$custom: #ad9729;
$custom-light: #c9b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9729",
  "rgb": {
    "r": 173,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 50,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6769,
    "c": 0.12609,
    "h": 97.3
  },
  "luminance": 0.31178
}

Semantic roles & 50–950 ramp

primary
#AD9729
secondary
#6D7CC5
accent
#5EE543
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9729

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

Preview Lab → · Contrast checker → · Palette generator →

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