#8A7627#8A7627

#8A7627 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.100 H 94.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7627
RGBrgb(138, 118, 39)
HSLhsl(48, 56%, 35%)
HSVhsv(48, 72%, 54%)
CMYKcmyk(0%, 14.5%, 71.7%, 45.9%)
CIE-LABlab(50.11, -1.43, 44.43)
CIE-LCHlch(50.11, 44.45, 91.85°)
OKLaboklab(56.94% -0.008 0.0993)
OKLCHoklch(56.94% 0.1 94.6)
XYZxyz(17.3267, 18.5076, 4.5787)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7627 #273B8A
analogous
#8A4527 #8A7627 #6C8A27
triadic
#8A7627 #278A76 #76278A
tetradic
#8A7627 #278A45 #273B8A #8A276C
square
#8A7627 #278A45 #273B8A #8A276C
split-complementary
#8A7627 #276C8A #45278A
monochromatic
#2B240C #5A4D1A #8A7627 #BA9F34 #D1B95B

Accessibility & contrast

On white

4.47
#8A7627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8A7627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7627
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7627#FFFFFF#000000##000000
##8A76271.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a7627;
/* rgb */ color: rgb(138, 118, 39);
/* oklch */ color: oklch(56.9% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#af9d66',
    500: '#8a7627',
    950: '#000000',
  },
}
SCSS
$custom: #8a7627;
$custom-light: #af9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7627",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 47.879,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.09968,
    "h": 94.6
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#8A7627
secondary
#576AB6
accent
#67DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7627

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

Preview Lab → · Contrast checker → · Palette generator →

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