#8A8D41#8A8D41

#8A8D41 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.4% C 0.099 H 111.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8D41
RGBrgb(138, 141, 65)
HSLhsl(62, 37%, 40%)
HSVhsv(62, 54%, 55%)
CMYKcmyk(2.1%, 0%, 53.9%, 44.7%)
CIE-LABlab(56.91, -12.20, 39.61)
CIE-LCHlch(56.91, 41.44, 107.12°)
OKLaboklab(62.43% -0.0356 0.0929)
OKLCHoklch(62.43% 0.099 111)
XYZxyz(20.9607, 24.8351, 8.6895)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D41 #44418D
analogous
#8D6A41 #8A8D41 #648D41
triadic
#8A8D41 #418A8D #8D418A
tetradic
#8A8D41 #418D6A #44418D #8D4164
square
#8A8D41 #418D6A #44418D #8D4164
split-complementary
#8A8D41 #41648D #6A418D
monochromatic
#38391A #61632E #8A8D41 #AFB259 #C3C683

Accessibility & contrast

On white

3.52
#8A8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#8A8D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D41
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D41#FFFFFF#000000##000000
##8A8D411.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#978A45
Tritanopia (blue-blind)
#92857C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8d41;
/* rgb */ color: rgb(138, 141, 65);
/* oklch */ color: oklch(62.4% 0.099 111.0);
Tailwind
colors: {
  custom: {
    50: '#aeae78',
    500: '#8a8d41',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d41;
$custom-light: #aeae78;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d41",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 62.368,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.09948,
    "h": 111
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#8A8D41
secondary
#7C79B0
accent
#5BCD5F
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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