#8A7927#8A7927

#8A7927 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.102 H 97.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A7927
RGBrgb(138, 121, 39)
HSLhsl(50, 56%, 35%)
HSVhsv(50, 72%, 54%)
CMYKcmyk(0%, 12.3%, 71.7%, 45.9%)
CIE-LABlab(50.95, -3.13, 45.28)
CIE-LCHlch(50.95, 45.39, 93.95°)
OKLaboklab(57.61% -0.0129 0.1012)
OKLCHoklch(57.61% 0.102 97.3)
XYZxyz(17.6857, 19.2254, 4.6984)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7927 #27388A
analogous
#8A4827 #8A7927 #6A8A27
triadic
#8A7927 #278A79 #79278A
tetradic
#8A7927 #278A48 #27388A #8A276A
square
#8A7927 #278A48 #27388A #8A276A
split-complementary
#8A7927 #276A8A #48278A
monochromatic
#2B250C #5A4F1A #8A7927 #BAA334 #D1BC5B

Accessibility & contrast

On white

4.33
#8A7927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A7927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7927
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7927#FFFFFF#000000##000000
##8A79271.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7927;
/* rgb */ color: rgb(138, 121, 39);
/* oklch */ color: oklch(57.6% 0.102 97.3);
Tailwind
colors: {
  custom: {
    50: '#af9f66',
    500: '#8a7927',
    950: '#000000',
  },
}
SCSS
$custom: #8a7927;
$custom-light: #af9f66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7927",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 49.697,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.10198,
    "h": 97.3
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#8A7927
secondary
#5767B6
accent
#62DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7927

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

Preview Lab → · Contrast checker → · Palette generator →

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