#8A7A26#8A7A26

#8A7A26 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.104 H 98.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7A26
RGBrgb(138, 122, 38)
HSLhsl(50, 57%, 35%)
HSVhsv(50, 72%, 54%)
CMYKcmyk(0%, 11.6%, 72.5%, 45.9%)
CIE-LABlab(51.22, -3.74, 45.98)
CIE-LCHlch(51.22, 46.13, 94.65°)
OKLaboklab(57.83% -0.0148 0.1025)
OKLCHoklch(57.83% 0.104 98.2)
XYZxyz(17.7915, 19.4632, 4.6530)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A26 #26368A
analogous
#8A4826 #8A7A26 #688A26
triadic
#8A7A26 #268A7A #7A268A
tetradic
#8A7A26 #268A48 #26368A #8A2668
square
#8A7A26 #268A48 #26368A #8A2668
split-complementary
#8A7A26 #26688A #48268A
monochromatic
#2A250C #5A5019 #8A7A26 #BAA433 #D1BE59

Accessibility & contrast

On white

4.29
#8A7A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A7A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A26
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A26#FFFFFF#000000##000000
##8A7A261.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#8B7C2B
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a26;
/* rgb */ color: rgb(138, 122, 38);
/* oklch */ color: oklch(57.8% 0.104 98.2);
Tailwind
colors: {
  custom: {
    50: '#afa066',
    500: '#8a7a26',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a26;
$custom-light: #afa066;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a26",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 50.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57827,
    "c": 0.10351,
    "h": 98.2
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#8A7A26
secondary
#5665B6
accent
#60E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7A26

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

Preview Lab → · Contrast checker → · Palette generator →

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