#8A8A70#8A8A70

#8A8A70 is a light, muted yellow. Relative luminance 0.247; OKLCH L 62.6% C 0.037 H 107.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A8A70
RGBrgb(138, 138, 112)
HSLhsl(60, 10%, 49%)
HSVhsv(60, 19%, 54%)
CMYKcmyk(0%, 0%, 18.8%, 45.9%)
CIE-LABlab(56.83, -4.65, 13.97)
CIE-LCHlch(56.83, 14.72, 108.42°)
OKLaboklab(62.62% -0.0112 0.0358)
OKLCHoklch(62.62% 0.038 107.4)
XYZxyz(22.4942, 24.7503, 18.9184)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A70 #70708A
analogous
#8A7D70 #8A8A70 #7D8A70
triadic
#8A8A70 #708A8A #8A708A
tetradic
#8A8A70 #708A7D #70708A #8A707D
square
#8A8A70 #708A7D #70708A #8A707D
split-complementary
#8A8A70 #707D8A #7D708A
monochromatic
#464639 #686855 #8A8A70 #A6A691 #C1C1B3

Accessibility & contrast

On white

3.53
#8A8A70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A8A70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A70
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A70#FFFFFF#000000##000000
##8A8A701.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F886E
Deuteranopia (green-blind)
#8F8971
Tritanopia (blue-blind)
#8E8783
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8a70;
/* rgb */ color: rgb(138, 138, 112);
/* oklch */ color: oklch(62.6% 0.037 107.4);
Tailwind
colors: {
  custom: {
    50: '#acac99',
    500: '#8a8a70',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a70;
$custom-light: #acac99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a70",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 10.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.0375,
    "h": 107.4
  },
  "luminance": 0.2475
}

Semantic roles & 50–950 ramp

primary
#8A8A70
secondary
#A5A5B1
accent
#74B374
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8A70

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

Preview Lab → · Contrast checker → · Palette generator →

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