#8A863D#8A863D

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

Color values

HEX#8A863D
RGBrgb(138, 134, 61)
HSLhsl(57, 39%, 39%)
HSVhsv(57, 56%, 54%)
CMYKcmyk(0%, 2.9%, 55.8%, 45.9%)
CIE-LABlab(54.86, -8.77, 39.22)
CIE-LCHlch(54.86, 40.19, 102.60°)
OKLaboklab(60.78% -0.0263 0.0916)
OKLCHoklch(60.78% 0.095 106)
XYZxyz(19.8492, 22.7910, 7.7675)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A863D #3D418A
analogous
#8A603D #8A863D #688A3D
triadic
#8A863D #3D8A86 #863D8A
tetradic
#8A863D #3D8A60 #3D418A #8A3D68
square
#8A863D #3D8A60 #3D418A #8A3D68
split-complementary
#8A863D #3D688A #603D8A
monochromatic
#353417 #605D2A #8A863D #B2AD52 #C5C17C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A863D#FFFFFF#000000##000000
##8A863D1.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)
#908136
Deuteranopia (green-blind)
#928541
Tritanopia (blue-blind)
#937E76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a863d;
/* rgb */ color: rgb(138, 134, 61);
/* oklch */ color: oklch(60.8% 0.095 106.0);
Tailwind
colors: {
  custom: {
    50: '#aea975',
    500: '#8a863d',
    950: '#000000',
  },
}
SCSS
$custom: #8a863d;
$custom-light: #aea975;
$custom-dark: #000000;
JSON
{
  "hex": "#8a863d",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 61
  },
  "hsl": {
    "h": 56.883,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6078,
    "c": 0.09529,
    "h": 106
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#8A863D
secondary
#7477AF
accent
#5FCF59
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A863D

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

Preview Lab → · Contrast checker → · Palette generator →

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