#8AAF34#8AAF34

#8AAF34 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.153 H 124.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8AAF34
RGBrgb(138, 175, 52)
HSLhsl(78, 54%, 45%)
HSVhsv(78, 70%, 69%)
CMYKcmyk(21.1%, 0%, 70.3%, 31.4%)
CIE-LABlab(66.76, -30.35, 56.00)
CIE-LCHlch(66.76, 63.70, 118.46°)
OKLaboklab(70.31% -0.0876 0.1259)
OKLCHoklch(70.31% 0.153 124.8)
XYZxyz(26.4312, 36.3109, 8.8643)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF34 #5934AF
analogous
#AF9734 #8AAF34 #4CAF34
triadic
#8AAF34 #348AAF #AF348A
tetradic
#8AAF34 #34AF97 #5934AF #AF344C
square
#8AAF34 #34AF97 #5934AF #AF344C
split-complementary
#8AAF34 #344CAF #9734AF
monochromatic
#405118 #658026 #8AAF34 #A8CC54 #C0DA83

Accessibility & contrast

On white

2.54
#8AAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#8AAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF34
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF34#FFFFFF#000000##000000
##8AAF341.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A420
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf34;
/* rgb */ color: rgb(138, 175, 52);
/* oklch */ color: oklch(70.3% 0.153 124.8);
Tailwind
colors: {
  custom: {
    50: '#afc773',
    500: '#8aaf34',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf34;
$custom-light: #afc773;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf34",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 78.049,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70308,
    "c": 0.15341,
    "h": 124.8
  },
  "luminance": 0.36311
}

Semantic roles & 50–950 ramp

primary
#8AAF34
secondary
#917BC4
accent
#4ADE77
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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