#8A8762#8A8762

#8A8762 is a mid, muted yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.053 H 103.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A8762
RGBrgb(138, 135, 98)
HSLhsl(56, 17%, 46%)
HSVhsv(56, 29%, 54%)
CMYKcmyk(0%, 2.2%, 29%, 45.9%)
CIE-LABlab(55.70, -5.11, 20.36)
CIE-LCHlch(55.70, 20.99, 104.08°)
OKLaboklab(61.63% -0.0127 0.0511)
OKLCHoklch(61.63% 0.053 103.9)
XYZxyz(21.3499, 23.6135, 14.9861)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8762 #62658A
analogous
#8A7362 #8A8762 #798A62
triadic
#8A8762 #628A87 #87628A
tetradic
#8A8762 #628A73 #62658A #8A6279
square
#8A8762 #628A73 #62658A #8A6279
split-complementary
#8A8762 #62798A #73628A
monochromatic
#42412F #666449 #8A8762 #A7A483 #C0BEA6

Accessibility & contrast

On white

3.67
#8A8762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A8762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8762
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8762#FFFFFF#000000##000000
##8A87621.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8460
Deuteranopia (green-blind)
#8F8663
Tritanopia (blue-blind)
#90827D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8762;
/* rgb */ color: rgb(138, 135, 98);
/* oklch */ color: oklch(61.6% 0.053 103.9);
Tailwind
colors: {
  custom: {
    50: '#aca98f',
    500: '#8a8762',
    950: '#000000',
  },
}
SCSS
$custom: #8a8762;
$custom-light: #aca98f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8762",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 55.5,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.05268,
    "h": 103.9
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#8A8762
secondary
#999BAF
accent
#74BA6E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A8762

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

Preview Lab → · Contrast checker → · Palette generator →

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