#8A863E#8A863E

#8A863E is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.094 H 106.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A863E
RGBrgb(138, 134, 62)
HSLhsl(57, 38%, 39%)
HSVhsv(57, 55%, 54%)
CMYKcmyk(0%, 2.9%, 55.1%, 45.9%)
CIE-LABlab(54.87, -8.68, 38.73)
CIE-LCHlch(54.87, 39.69, 102.64°)
OKLaboklab(60.79% -0.026 0.0907)
OKLCHoklch(60.79% 0.094 106)
XYZxyz(19.8764, 22.8019, 7.9107)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A863E #3E428A
analogous
#8A603E #8A863E #688A3E
triadic
#8A863E #3E8A86 #863E8A
tetradic
#8A863E #3E8A60 #3E428A #8A3E68
square
#8A863E #3E8A60 #3E428A #8A3E68
split-complementary
#8A863E #3E688A #603E8A
monochromatic
#363418 #605D2B #8A863E #B2AD53 #C5C17E

Accessibility & contrast

On white

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

On black

5.56
#8A863E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A863E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A863E#FFFFFF#000000##000000
##8A863E1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908137
Deuteranopia (green-blind)
#928542
Tritanopia (blue-blind)
#937E76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a863e;
/* rgb */ color: rgb(138, 134, 62);
/* oklch */ color: oklch(60.8% 0.094 106.0);
Tailwind
colors: {
  custom: {
    50: '#aea976',
    500: '#8a863e',
    950: '#000000',
  },
}
SCSS
$custom: #8a863e;
$custom-light: #aea976;
$custom-dark: #000000;
JSON
{
  "hex": "#8a863e",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 62
  },
  "hsl": {
    "h": 56.842,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.09429,
    "h": 106
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#8A863E
secondary
#7578AF
accent
#60CE5A
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #8A863E

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

Preview Lab → · Contrast checker → · Palette generator →

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