#A18727#A18727

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

Color values

HEX#A18727
RGBrgb(161, 135, 39)
HSLhsl(47, 61%, 39%)
HSVhsv(47, 76%, 63%)
CMYKcmyk(0%, 16.1%, 75.8%, 36.9%)
CIE-LABlab(57.13, -0.36, 52.13)
CIE-LCHlch(57.13, 52.13, 90.40°)
OKLaboklab(63.04% -0.0064 0.1147)
OKLCHoklch(63.04% 0.115 93.2)
XYZxyz(23.7294, 25.0529, 5.5049)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18727 #2741A1
analogous
#A14A27 #A18727 #7EA127
triadic
#A18727 #27A187 #8727A1
tetradic
#A18727 #27A14A #2741A1 #A1277E
square
#A18727 #27A14A #2741A1 #A1277E
split-complementary
#A18727 #277EA1 #4A27A1
monochromatic
#3E340F #705E1B #A18727 #CEAE37 #DAC268

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18727#FFFFFF#000000##000000
##A187271.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)
#968517
Deuteranopia (green-blind)
#9D8C2D
Tritanopia (blue-blind)
#AE7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a18727;
/* rgb */ color: rgb(161, 135, 39);
/* oklch */ color: oklch(63.0% 0.115 93.2);
Tailwind
colors: {
  custom: {
    50: '#c1a968',
    500: '#a18727',
    950: '#000000',
  },
}
SCSS
$custom: #a18727;
$custom-light: #c1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#a18727",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 47.213,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.11491,
    "h": 93.2
  },
  "luminance": 0.25051
}

Semantic roles & 50–950 ramp

primary
#A18727
secondary
#6377C0
accent
#66E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A18727

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

Preview Lab → · Contrast checker → · Palette generator →

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