#8A9440#8A9440

#8A9440 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.109 H 115.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A9440
RGBrgb(138, 148, 64)
HSLhsl(67, 40%, 42%)
HSVhsv(67, 57%, 58%)
CMYKcmyk(6.8%, 0%, 56.8%, 42%)
CIE-LABlab(58.93, -16.00, 42.42)
CIE-LCHlch(58.93, 45.33, 110.67°)
OKLaboklab(64.04% -0.0465 0.0988)
OKLCHoklch(64.04% 0.109 115.2)
XYZxyz(21.9970, 26.9536, 8.8933)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9440 #4A4094
analogous
#947440 #8A9440 #609440
triadic
#8A9440 #408A94 #94408A
tetradic
#8A9440 #409474 #4A4094 #944060
square
#8A9440 #409474 #4A4094 #944060
split-complementary
#8A9440 #406094 #744094
monochromatic
#3A3F1B #62692E #8A9440 #ACB85A #C2CA84

Accessibility & contrast

On white

3.29
#8A9440 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8A9440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9440
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9440#FFFFFF#000000##000000
##8A94401.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D37
Deuteranopia (green-blind)
#9D8F45
Tritanopia (blue-blind)
#928C82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9440;
/* rgb */ color: rgb(138, 148, 64);
/* oklch */ color: oklch(64.0% 0.109 115.2);
Tailwind
colors: {
  custom: {
    50: '#aeb378',
    500: '#8a9440',
    950: '#000000',
  },
}
SCSS
$custom: #8a9440;
$custom-light: #aeb378;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9440",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 64
  },
  "hsl": {
    "h": 67.143,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64042,
    "c": 0.10921,
    "h": 115.2
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#8A9440
secondary
#827BB4
accent
#58D066
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #8A9440

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

Preview Lab → · Contrast checker → · Palette generator →

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