#8A863F#8A863F

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

Color values

HEX#8A863F
RGBrgb(138, 134, 63)
HSLhsl(57, 37%, 39%)
HSVhsv(57, 54%, 54%)
CMYKcmyk(0%, 2.9%, 54.3%, 45.9%)
CIE-LABlab(54.88, -8.59, 38.24)
CIE-LCHlch(54.88, 39.20, 102.67°)
OKLaboklab(60.81% -0.0256 0.0897)
OKLCHoklch(60.81% 0.093 105.9)
XYZxyz(19.9041, 22.8129, 8.0565)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A863F #3F438A
analogous
#8A613F #8A863F #698A3F
triadic
#8A863F #3F8A86 #863F8A
tetradic
#8A863F #3F8A61 #3F438A #8A3F69
square
#8A863F #3F8A61 #3F438A #8A3F69
split-complementary
#8A863F #3F698A #613F8A
monochromatic
#363419 #605D2C #8A863F #B1AC55 #C5C17F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A863F#FFFFFF#000000##000000
##8A863F1.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)
#908238
Deuteranopia (green-blind)
#928543
Tritanopia (blue-blind)
#937E76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a863f;
/* rgb */ color: rgb(138, 134, 63);
/* oklch */ color: oklch(60.8% 0.093 105.9);
Tailwind
colors: {
  custom: {
    50: '#aea976',
    500: '#8a863f',
    950: '#000000',
  },
}
SCSS
$custom: #8a863f;
$custom-light: #aea976;
$custom-dark: #000000;
JSON
{
  "hex": "#8a863f",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 63
  },
  "hsl": {
    "h": 56.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.09328,
    "h": 105.9
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#8A863F
secondary
#7679AF
accent
#61CD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A863F

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

Preview Lab → · Contrast checker → · Palette generator →

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