#8A9F30#8A9F30

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

Color values

HEX#8A9F30
RGBrgb(138, 159, 48)
HSLhsl(71, 54%, 41%)
HSVhsv(71, 70%, 62%)
CMYKcmyk(13.2%, 0%, 69.8%, 37.6%)
CIE-LABlab(62.01, -22.81, 52.76)
CIE-LCHlch(62.01, 57.48, 113.38°)
OKLaboklab(66.47% -0.0672 0.1185)
OKLCHoklch(66.47% 0.136 119.6)
XYZxyz(23.4133, 30.4131, 7.4326)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F30 #45309F
analogous
#9F7C30 #8A9F30 #539F30
triadic
#8A9F30 #308A9F #9F308A
tetradic
#8A9F30 #309F7C #45309F #9F3053
square
#8A9F30 #309F7C #45309F #9F3053
split-complementary
#8A9F30 #30539F #7C309F
monochromatic
#384114 #617022 #8A9F30 #AEC745 #C3D574

Accessibility & contrast

On white

2.97
#8A9F30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8A9F30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F30
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F30#FFFFFF#000000##000000
##8A9F301.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961F
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#929689
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f30;
/* rgb */ color: rgb(138, 159, 48);
/* oklch */ color: oklch(66.5% 0.136 119.6);
Tailwind
colors: {
  custom: {
    50: '#afbb6f',
    500: '#8a9f30',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f30;
$custom-light: #afbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f30",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 48
  },
  "hsl": {
    "h": 71.351,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66468,
    "c": 0.13622,
    "h": 119.6
  },
  "luminance": 0.30413
}

Semantic roles & 50–950 ramp

primary
#8A9F30
secondary
#7D6EBD
accent
#4BDD66
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9F30

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

Preview Lab → · Contrast checker → · Palette generator →

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