#8A7527#8A7527

#8A7527 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.7% C 0.099 H 93.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7527
RGBrgb(138, 117, 39)
HSLhsl(47, 56%, 35%)
HSVhsv(47, 72%, 54%)
CMYKcmyk(0%, 15.2%, 71.7%, 45.9%)
CIE-LABlab(49.83, -0.87, 44.14)
CIE-LCHlch(49.83, 44.15, 91.12°)
OKLaboklab(56.72% -0.0064 0.0988)
OKLCHoklch(56.72% 0.099 93.7)
XYZxyz(17.2096, 18.2733, 4.5397)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7527 #273C8A
analogous
#8A4427 #8A7527 #6D8A27
triadic
#8A7527 #278A75 #75278A
tetradic
#8A7527 #278A44 #273C8A #8A276D
square
#8A7527 #278A44 #273C8A #8A276D
split-complementary
#8A7527 #276D8A #44278A
monochromatic
#2B240C #5A4D1A #8A7527 #BA9D34 #D1B85B

Accessibility & contrast

On white

4.51
#8A7527 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A7527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7527
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7527#FFFFFF#000000##000000
##8A75271.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82731C
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#956C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7527;
/* rgb */ color: rgb(138, 117, 39);
/* oklch */ color: oklch(56.7% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#af9c66',
    500: '#8a7527',
    950: '#000000',
  },
}
SCSS
$custom: #8a7527;
$custom-light: #af9c66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7527",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 39
  },
  "hsl": {
    "h": 47.273,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.09896,
    "h": 93.7
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#8A7527
secondary
#576BB6
accent
#69DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7527

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

Preview Lab → · Contrast checker → · Palette generator →

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