#8A7727#8A7727

#8A7727 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.2% C 0.100 H 95.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A7727
RGBrgb(138, 119, 39)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 54%)
CMYKcmyk(0%, 13.8%, 71.7%, 45.9%)
CIE-LABlab(50.39, -2.00, 44.71)
CIE-LCHlch(50.39, 44.76, 92.56°)
OKLaboklab(57.17% -0.0097 0.1)
OKLCHoklch(57.17% 0.1 95.5)
XYZxyz(17.4451, 18.7443, 4.6182)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7727 #273A8A
analogous
#8A4627 #8A7727 #6C8A27
triadic
#8A7727 #278A77 #77278A
tetradic
#8A7727 #278A46 #273A8A #8A276C
square
#8A7727 #278A46 #273A8A #8A276C
split-complementary
#8A7727 #276C8A #46278A
monochromatic
#2B250C #5A4E1A #8A7727 #BAA034 #D1BA5B

Accessibility & contrast

On white

4.42
#8A7727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A7727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7727
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7727#FFFFFF#000000##000000
##8A77271.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7727;
/* rgb */ color: rgb(138, 119, 39);
/* oklch */ color: oklch(57.2% 0.100 95.5);
Tailwind
colors: {
  custom: {
    50: '#af9d66',
    500: '#8a7727',
    950: '#000000',
  },
}
SCSS
$custom: #8a7727;
$custom-light: #af9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7727",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 48.485,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.10042,
    "h": 95.5
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#8A7727
secondary
#5769B6
accent
#65DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7727

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

Preview Lab → · Contrast checker → · Palette generator →

#8A7727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva