#A39728#A39728

#A39728 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.7% C 0.127 H 103.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A39728
RGBrgb(163, 151, 40)
HSLhsl(54, 61%, 40%)
HSVhsv(54, 75%, 64%)
CMYKcmyk(0%, 7.4%, 75.5%, 36.1%)
CIE-LABlab(61.72, -8.12, 56.18)
CIE-LCHlch(61.72, 56.77, 98.23°)
OKLaboklab(66.72% -0.0284 0.1235)
OKLCHoklch(66.72% 0.127 103)
XYZxyz(26.5551, 30.0741, 6.4132)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39728 #2834A3
analogous
#A35928 #A39728 #72A328
triadic
#A39728 #28A397 #9728A3
tetradic
#A39728 #28A359 #2834A3 #A32872
square
#A39728 #28A359 #2834A3 #A32872
split-complementary
#A39728 #2872A3 #5928A3
monochromatic
#413C10 #72691C #A39728 #CFC03A #DBD06B

Accessibility & contrast

On white

2.99
#A39728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#A39728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39728
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39728#FFFFFF#000000##000000
##A397281.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a39728;
/* rgb */ color: rgb(163, 151, 40);
/* oklch */ color: oklch(66.7% 0.127 103.0);
Tailwind
colors: {
  custom: {
    50: '#c2b56b',
    500: '#a39728',
    950: '#000000',
  },
}
SCSS
$custom: #a39728;
$custom-light: #c2b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#a39728",
  "rgb": {
    "r": 163,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 54.146,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66721,
    "c": 0.12668,
    "h": 103
  },
  "luminance": 0.30073
}

Semantic roles & 50–950 ramp

primary
#A39728
secondary
#666FC1
accent
#54E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A39728

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

Preview Lab → · Contrast checker → · Palette generator →

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