#8A8A63#8A8A63

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

Color values

HEX#8A8A63
RGBrgb(138, 138, 99)
HSLhsl(60, 16%, 46%)
HSVhsv(60, 28%, 54%)
CMYKcmyk(0%, 0%, 28.3%, 45.9%)
CIE-LABlab(56.57, -6.62, 20.96)
CIE-LCHlch(56.57, 21.98, 107.53°)
OKLaboklab(62.32% -0.017 0.0526)
OKLCHoklch(62.32% 0.055 107.9)
XYZxyz(21.8219, 24.4814, 15.3778)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A63 #63638A
analogous
#8A7763 #8A8A63 #778A63
triadic
#8A8A63 #638A8A #8A638A
tetradic
#8A8A63 #638A77 #63638A #8A6377
square
#8A8A63 #638A77 #63638A #8A6377
split-complementary
#8A8A63 #63778A #77638A
monochromatic
#434330 #666649 #8A8A63 #A7A784 #C0C0A7

Accessibility & contrast

On white

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

On black

5.90
#8A8A63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A63
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A63#FFFFFF#000000##000000
##8A8A631.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908760
Deuteranopia (green-blind)
#918865
Tritanopia (blue-blind)
#908580
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8a63;
/* rgb */ color: rgb(138, 138, 99);
/* oklch */ color: oklch(62.3% 0.055 107.9);
Tailwind
colors: {
  custom: {
    50: '#acac8f',
    500: '#8a8a63',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a63;
$custom-light: #acac8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a63",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 99
  },
  "hsl": {
    "h": 60,
    "s": 16.456,
    "l": 46.471
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.05528,
    "h": 107.9
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#8A8A63
secondary
#9A9AAF
accent
#6FB96F
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A8A63

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

Preview Lab → · Contrast checker → · Palette generator →

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