#8A8B59#8A8B59

#8A8B59 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.4% C 0.070 H 109.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8B59
RGBrgb(138, 139, 89)
HSLhsl(61, 22%, 45%)
HSVhsv(61, 36%, 55%)
CMYKcmyk(0.7%, 0%, 36%, 45.5%)
CIE-LABlab(56.67, -8.52, 26.66)
CIE-LCHlch(56.67, 27.99, 107.72°)
OKLaboklab(62.35% -0.0229 0.0657)
OKLCHoklch(62.35% 0.07 109.2)
XYZxyz(21.5172, 24.5901, 13.0621)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B59 #5A598B
analogous
#8B7359 #8A8B59 #718B59
triadic
#8A8B59 #598A8B #8B598A
tetradic
#8A8B59 #598B73 #5A598B #8B5971
square
#8A8B59 #598B73 #5A598B #8B5971
split-complementary
#8A8B59 #59718B #73598B
monochromatic
#404029 #656641 #8A8B59 #A8A978 #C0C19E

Accessibility & contrast

On white

3.55
#8A8B59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8A8B59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B59
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B59#FFFFFF#000000##000000
##8A8B591.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938755
Deuteranopia (green-blind)
#93895B
Tritanopia (blue-blind)
#91857E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8b59;
/* rgb */ color: rgb(138, 139, 89);
/* oklch */ color: oklch(62.4% 0.070 109.2);
Tailwind
colors: {
  custom: {
    50: '#adac88',
    500: '#8a8b59',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b59;
$custom-light: #adac88;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b59",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 89
  },
  "hsl": {
    "h": 61.2,
    "s": 21.93,
    "l": 44.706
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.06955,
    "h": 109.2
  },
  "luminance": 0.2459
}

Semantic roles & 50–950 ramp

primary
#8A8B59
secondary
#9291AE
accent
#69BE6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C

Preview Lab

Preview with #8A8B59

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

Preview Lab → · Contrast checker → · Palette generator →

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