#A29728#A29728

#A29728 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.127 H 103.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A29728
RGBrgb(162, 151, 40)
HSLhsl(55, 60%, 40%)
HSVhsv(55, 75%, 64%)
CMYKcmyk(0%, 6.8%, 75.3%, 36.5%)
CIE-LABlab(61.63, -8.57, 56.06)
CIE-LCHlch(61.63, 56.71, 98.69°)
OKLaboklab(66.63% -0.0296 0.1233)
OKLCHoklch(66.63% 0.127 103.5)
XYZxyz(26.3511, 29.9689, 6.4036)
Luminance0.2997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29728 #2833A2
analogous
#A25A28 #A29728 #70A228
triadic
#A29728 #28A297 #9728A2
tetradic
#A29728 #28A25A #2833A2 #A22870
square
#A29728 #28A25A #2833A2 #A22870
split-complementary
#A29728 #2870A2 #5A28A2
monochromatic
#403C10 #71691C #A29728 #CEC139 #DAD06A

Accessibility & contrast

On white

3.00
#A29728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A29728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A29728
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A29728#FFFFFF#000000##000000
##A297281.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59212
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#AF8C82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a29728;
/* rgb */ color: rgb(162, 151, 40);
/* oklch */ color: oklch(66.6% 0.127 103.5);
Tailwind
colors: {
  custom: {
    50: '#c1b56b',
    500: '#a29728',
    950: '#000000',
  },
}
SCSS
$custom: #a29728;
$custom-light: #c1b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a29728",
  "rgb": {
    "r": 162,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 54.59,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66627,
    "c": 0.12676,
    "h": 103.5
  },
  "luminance": 0.29968
}

Semantic roles & 50–950 ramp

primary
#A29728
secondary
#656DC1
accent
#53E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A29728

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

Preview Lab → · Contrast checker → · Palette generator →

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