#8A9F34#8A9F34

#8A9F34 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.5% C 0.133 H 119.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A9F34
RGBrgb(138, 159, 52)
HSLhsl(72, 51%, 41%)
HSVhsv(72, 67%, 62%)
CMYKcmyk(13.2%, 0%, 67.3%, 37.6%)
CIE-LABlab(62.04, -22.56, 51.18)
CIE-LCHlch(62.04, 55.93, 113.78°)
OKLaboklab(66.5% -0.0661 0.1158)
OKLCHoklch(66.5% 0.133 119.7)
XYZxyz(23.4996, 30.4476, 7.8871)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F34 #49349F
analogous
#9F7F34 #8A9F34 #559F34
triadic
#8A9F34 #348A9F #9F348A
tetradic
#8A9F34 #349F7F #49349F #9F3455
square
#8A9F34 #349F7F #49349F #9F3455
split-complementary
#8A9F34 #34559F #7F349F
monochromatic
#3A4316 #627125 #8A9F34 #ADC44C #C2D37A

Accessibility & contrast

On white

2.96
#8A9F34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#8A9F34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F34
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F34#FFFFFF#000000##000000
##8A9F341.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99625
Deuteranopia (green-blind)
#A7963C
Tritanopia (blue-blind)
#929789
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f34;
/* rgb */ color: rgb(138, 159, 52);
/* oklch */ color: oklch(66.5% 0.133 119.7);
Tailwind
colors: {
  custom: {
    50: '#afbb71',
    500: '#8a9f34',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f34;
$custom-light: #afbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f34",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 52
  },
  "hsl": {
    "h": 71.776,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66501,
    "c": 0.13332,
    "h": 119.7
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#8A9F34
secondary
#8173BC
accent
#4EDA69
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9F34

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

Preview Lab → · Contrast checker → · Palette generator →

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