#8A863A#8A863A

#8A863A is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.098 H 106.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A863A
RGBrgb(138, 134, 58)
HSLhsl(57, 41%, 38%)
HSVhsv(57, 58%, 54%)
CMYKcmyk(0%, 2.9%, 58%, 45.9%)
CIE-LABlab(54.82, -9.02, 40.66)
CIE-LCHlch(54.82, 41.65, 102.51°)
OKLaboklab(60.74% -0.0274 0.0943)
OKLCHoklch(60.74% 0.098 106.2)
XYZxyz(19.7706, 22.7596, 7.3538)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A863A #3A3E8A
analogous
#8A5E3A #8A863A #668A3A
triadic
#8A863A #3A8A86 #863A8A
tetradic
#8A863A #3A8A5E #3A3E8A #8A3A66
square
#8A863A #3A8A5E #3A3E8A #8A3A66
split-complementary
#8A863A #3A668A #5E3A8A
monochromatic
#343216 #5F5C28 #8A863A #B4AF4D #C6C278

Accessibility & contrast

On white

3.78
#8A863A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8A863A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A863A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A863A#FFFFFF#000000##000000
##8A863A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908132
Deuteranopia (green-blind)
#92853E
Tritanopia (blue-blind)
#937E75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a863a;
/* rgb */ color: rgb(138, 134, 58);
/* oklch */ color: oklch(60.7% 0.098 106.2);
Tailwind
colors: {
  custom: {
    50: '#aea973',
    500: '#8a863a',
    950: '#000000',
  },
}
SCSS
$custom: #8a863a;
$custom-light: #aea973;
$custom-dark: #000000;
JSON
{
  "hex": "#8a863a",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 58
  },
  "hsl": {
    "h": 57,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.09823,
    "h": 106.2
  },
  "luminance": 0.22759
}

Semantic roles & 50–950 ramp

primary
#8A863A
secondary
#7073B0
accent
#5DD157
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A863A

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

Preview Lab → · Contrast checker → · Palette generator →

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