#A18728#A18728

#A18728 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 63.0% C 0.114 H 93.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A18728
RGBrgb(161, 135, 40)
HSLhsl(47, 60%, 39%)
HSVhsv(47, 75%, 63%)
CMYKcmyk(0%, 16.1%, 75.2%, 36.9%)
CIE-LABlab(57.13, -0.32, 51.74)
CIE-LCHlch(57.13, 51.75, 90.35°)
OKLaboklab(63.04% -0.0061 0.1141)
OKLCHoklch(63.04% 0.114 93.1)
XYZxyz(23.7462, 25.0596, 5.5933)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18728 #2842A1
analogous
#A14A28 #A18728 #7FA128
triadic
#A18728 #28A187 #8728A1
tetradic
#A18728 #28A14A #2842A1 #A1287F
square
#A18728 #28A14A #2842A1 #A1287F
split-complementary
#A18728 #287FA1 #4A28A1
monochromatic
#3F3510 #705E1C #A18728 #CEAE39 #DAC26A

Accessibility & contrast

On white

3.49
#A18728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A18728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18728
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18728#FFFFFF#000000##000000
##A187281.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968518
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#AE7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a18728;
/* rgb */ color: rgb(161, 135, 40);
/* oklch */ color: oklch(63.0% 0.114 93.1);
Tailwind
colors: {
  custom: {
    50: '#c1a969',
    500: '#a18728',
    950: '#000000',
  },
}
SCSS
$custom: #a18728;
$custom-light: #c1a969;
$custom-dark: #000000;
JSON
{
  "hex": "#a18728",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 47.107,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.11429,
    "h": 93.1
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#A18728
secondary
#6578C0
accent
#67E344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A18728

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

Preview Lab → · Contrast checker → · Palette generator →

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