#8A771E#8A771E

#8A771E is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.106 H 96.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A771E
RGBrgb(138, 119, 30)
HSLhsl(49, 64%, 33%)
HSVhsv(49, 78%, 54%)
CMYKcmyk(0%, 13.8%, 78.3%, 45.9%)
CIE-LABlab(50.32, -2.45, 48.29)
CIE-LCHlch(50.32, 48.35, 92.90°)
OKLaboklab(57.1% -0.012 0.1057)
OKLCHoklch(57.1% 0.106 96.5)
XYZxyz(17.3133, 18.6916, 3.9240)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A771E #1E318A
analogous
#8A411E #8A771E #678A1E
triadic
#8A771E #1E8A77 #771E8A
tetradic
#8A771E #1E8A41 #1E318A #8A1E67
square
#8A771E #1E8A41 #1E318A #8A1E67
split-complementary
#8A771E #1E678A #411E8A
monochromatic
#252008 #584C13 #8A771E #BCA229 #D8BF4B

Accessibility & contrast

On white

4.43
#8A771E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A771E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A771E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A771E#FFFFFF#000000##000000
##8A771E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a771e;
/* rgb */ color: rgb(138, 119, 30);
/* oklch */ color: oklch(57.1% 0.106 96.5);
Tailwind
colors: {
  custom: {
    50: '#b09d61',
    500: '#8a771e',
    950: '#000000',
  },
}
SCSS
$custom: #8a771e;
$custom-light: #b09d61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a771e",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 49.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57097,
    "c": 0.10641,
    "h": 96.5
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#8A771E
secondary
#4A5DBA
accent
#5EE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A771E

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

Preview Lab → · Contrast checker → · Palette generator →

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