#8A9F27#8A9F27

#8A9F27 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.4% C 0.142 H 119.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A9F27
RGBrgb(138, 159, 39)
HSLhsl(71, 61%, 39%)
HSVhsv(71, 75%, 62%)
CMYKcmyk(13.2%, 0%, 75.5%, 37.6%)
CIE-LABlab(61.95, -23.31, 56.03)
CIE-LCHlch(61.95, 60.68, 112.59°)
OKLaboklab(66.4% -0.0694 0.1238)
OKLCHoklch(66.4% 0.142 119.3)
XYZxyz(23.2461, 30.3462, 6.5518)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9F27 #3C279F
analogous
#9F7827 #8A9F27 #4E9F27
triadic
#8A9F27 #278A9F #9F278A
tetradic
#8A9F27 #279F78 #3C279F #9F274E
square
#8A9F27 #279F78 #3C279F #9F274E
split-complementary
#8A9F27 #274E9F #78279F
monochromatic
#353D0F #5F6E1B #8A9F27 #B3CE36 #C6DA67

Accessibility & contrast

On white

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

On black

7.07
#8A9F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9F27
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9F27#FFFFFF#000000##000000
##8A9F271.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960C
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#929688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a9f27;
/* rgb */ color: rgb(138, 159, 39);
/* oklch */ color: oklch(66.4% 0.142 119.3);
Tailwind
colors: {
  custom: {
    50: '#afbb6b',
    500: '#8a9f27',
    950: '#000000',
  },
}
SCSS
$custom: #8a9f27;
$custom-light: #afbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9f27",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 70.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66404,
    "c": 0.14197,
    "h": 119.3
  },
  "luminance": 0.30346
}

Semantic roles & 50–950 ramp

primary
#8A9F27
secondary
#7362C0
accent
#44E460
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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