#8A9155#8A9155

#8A9155 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.6% C 0.083 H 114.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A9155
RGBrgb(138, 145, 85)
HSLhsl(67, 26%, 45%)
HSVhsv(67, 41%, 57%)
CMYKcmyk(4.8%, 0%, 41.4%, 43.1%)
CIE-LABlab(58.33, -12.25, 30.96)
CIE-LCHlch(58.33, 33.29, 111.59°)
OKLaboklab(63.65% -0.0339 0.0753)
OKLCHoklch(63.65% 0.083 114.2)
XYZxyz(22.2465, 26.3102, 12.4990)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9155 #5C5591
analogous
#917A55 #8A9155 #6C9155
triadic
#8A9155 #558A91 #91558A
tetradic
#8A9155 #55917A #5C5591 #91556C
square
#8A9155 #55917A #5C5591 #91556C
split-complementary
#8A9155 #556C91 #7A5591
monochromatic
#414428 #656A3E #8A9155 #A7AE75 #C0C59C

Accessibility & contrast

On white

3.35
#8A9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8A9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9155
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9155#FFFFFF#000000##000000
##8A91551.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C50
Deuteranopia (green-blind)
#998D58
Tritanopia (blue-blind)
#918B82
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9155;
/* rgb */ color: rgb(138, 145, 85);
/* oklch */ color: oklch(63.6% 0.083 114.2);
Tailwind
colors: {
  custom: {
    50: '#adb186',
    500: '#8a9155',
    950: '#000000',
  },
}
SCSS
$custom: #8a9155;
$custom-light: #adb186;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9155",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 67,
    "s": 26.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.08258,
    "h": 114.2
  },
  "luminance": 0.2631
}

Semantic roles & 50–950 ramp

primary
#8A9155
secondary
#9490B2
accent
#65C270
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A9155

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

Preview Lab → · Contrast checker → · Palette generator →

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