#8A8A62#8A8A62

#8A8A62 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.057 H 107.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A8A62
RGBrgb(138, 138, 98)
HSLhsl(60, 17%, 46%)
HSVhsv(60, 29%, 54%)
CMYKcmyk(0%, 0%, 29%, 45.9%)
CIE-LABlab(56.55, -6.76, 21.50)
CIE-LCHlch(56.55, 22.54, 107.47°)
OKLaboklab(62.3% -0.0174 0.0539)
OKLCHoklch(62.3% 0.057 107.9)
XYZxyz(21.7744, 24.4624, 15.1276)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A62 #62628A
analogous
#8A7662 #8A8A62 #768A62
triadic
#8A8A62 #628A8A #8A628A
tetradic
#8A8A62 #628A76 #62628A #8A6276
square
#8A8A62 #628A76 #62628A #8A6276
split-complementary
#8A8A62 #62768A #76628A
monochromatic
#42422F #666649 #8A8A62 #A7A783 #C0C0A6

Accessibility & contrast

On white

3.56
#8A8A62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8A8A62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A62
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A62#FFFFFF#000000##000000
##8A8A621.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91875F
Deuteranopia (green-blind)
#918864
Tritanopia (blue-blind)
#90857F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8a62;
/* rgb */ color: rgb(138, 138, 98);
/* oklch */ color: oklch(62.3% 0.057 107.9);
Tailwind
colors: {
  custom: {
    50: '#acac8f',
    500: '#8a8a62',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a62;
$custom-light: #acac8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a62",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.0566,
    "h": 107.9
  },
  "luminance": 0.24462
}

Semantic roles & 50–950 ramp

primary
#8A8A62
secondary
#9999AF
accent
#6EBA6E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A8A62

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

Preview Lab → · Contrast checker → · Palette generator →

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