#8A9162#8A9162

#8A9162 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.9% C 0.066 H 115.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A9162
RGBrgb(138, 145, 98)
HSLhsl(69, 19%, 48%)
HSVhsv(69, 32%, 57%)
CMYKcmyk(4.8%, 0%, 32.4%, 43.1%)
CIE-LABlab(58.54, -10.58, 24.15)
CIE-LCHlch(58.54, 26.37, 113.66°)
OKLaboklab(63.89% -0.0283 0.0601)
OKLCHoklch(63.89% 0.066 115.2)
XYZxyz(22.8112, 26.5361, 15.4732)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9162 #696291
analogous
#918062 #8A9162 #729162
triadic
#8A9162 #628A91 #91628A
tetradic
#8A9162 #629180 #696291 #916272
square
#8A9162 #629180 #696291 #916272
split-complementary
#8A9162 #627291 #806291
monochromatic
#444831 #676C49 #8A9162 #A6AC84 #C1C5A9

Accessibility & contrast

On white

3.33
#8A9162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8A9162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9162
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9162#FFFFFF#000000##000000
##8A91621.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978C5F
Deuteranopia (green-blind)
#978D64
Tritanopia (blue-blind)
#8F8C85
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9162;
/* rgb */ color: rgb(138, 145, 98);
/* oklch */ color: oklch(63.9% 0.066 115.2);
Tailwind
colors: {
  custom: {
    50: '#acb18f',
    500: '#8a9162',
    950: '#000000',
  },
}
SCSS
$custom: #8a9162;
$custom-light: #acb18f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9162",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 98
  },
  "hsl": {
    "h": 68.936,
    "s": 19.342,
    "l": 47.647
  },
  "oklch": {
    "l": 0.63887,
    "c": 0.06646,
    "h": 115.2
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#8A9162
secondary
#9F9CB3
accent
#6CBC78
background
#FAFAF8
surface
#F4F5F0
border
#CECFCB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8A9162

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

Preview Lab → · Contrast checker → · Palette generator →

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