#8A861E#8A861E

#8A861E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.5% C 0.119 H 107.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8A861E
RGBrgb(138, 134, 30)
HSLhsl(58, 64%, 33%)
HSVhsv(58, 78%, 54%)
CMYKcmyk(0%, 2.9%, 78.3%, 45.9%)
CIE-LABlab(54.60, -10.74, 52.24)
CIE-LCHlch(54.60, 53.33, 101.62°)
OKLaboklab(60.5% -0.0353 0.1142)
OKLCHoklch(60.5% 0.12 107.2)
XYZxyz(19.2415, 22.5479, 4.5667)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A861E #1E228A
analogous
#8A501E #8A861E #588A1E
triadic
#8A861E #1E8A86 #861E8A
tetradic
#8A861E #1E8A50 #1E228A #8A1E58
square
#8A861E #1E8A50 #1E228A #8A1E58
split-complementary
#8A861E #1E588A #501E8A
monochromatic
#252408 #585513 #8A861E #BCB729 #D8D34B

Accessibility & contrast

On white

3.81
#8A861E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8A861E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A861E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A861E#FFFFFF#000000##000000
##8A861E1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#957D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a861e;
/* rgb */ color: rgb(138, 134, 30);
/* oklch */ color: oklch(60.5% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#b0a863',
    500: '#8a861e',
    950: '#000000',
  },
}
SCSS
$custom: #8a861e;
$custom-light: #b0a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8a861e",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 57.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60497,
    "c": 0.1195,
    "h": 107.2
  },
  "luminance": 0.22547
}

Semantic roles & 50–950 ramp

primary
#8A861E
secondary
#4A4EBA
accent
#47E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A861E

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

Preview Lab → · Contrast checker → · Palette generator →

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