#8AAF46#8AAF46

#8AAF46 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.5% C 0.140 H 126.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8AAF46
RGBrgb(138, 175, 70)
HSLhsl(81, 43%, 48%)
HSVhsv(81, 60%, 69%)
CMYKcmyk(21.1%, 0%, 60%, 31.4%)
CIE-LABlab(66.90, -29.00, 48.62)
CIE-LCHlch(66.90, 56.61, 120.82°)
OKLaboklab(70.47% -0.0823 0.1128)
OKLCHoklch(70.47% 0.14 126.1)
XYZxyz(26.9167, 36.5051, 11.4213)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF46 #6B46AF
analogous
#AF9F46 #8AAF46 #55AF46
triadic
#8AAF46 #468AAF #AF468A
tetradic
#8AAF46 #46AF9F #6B46AF #AF4655
square
#8AAF46 #46AF9F #6B46AF #AF4655
split-complementary
#8AAF46 #4655AF #9F46AF
monochromatic
#455823 #688335 #8AAF46 #A6C56D #C1D699

Accessibility & contrast

On white

2.53
#8AAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#8AAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF46
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF46#FFFFFF#000000##000000
##8AAF461.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43A
Deuteranopia (green-blind)
#B3A24D
Tritanopia (blue-blind)
#8FA798
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf46;
/* rgb */ color: rgb(138, 175, 70);
/* oklch */ color: oklch(70.5% 0.140 126.1);
Tailwind
colors: {
  custom: {
    50: '#afc77d',
    500: '#8aaf46',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf46;
$custom-light: #afc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf46",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 81.143,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.13957,
    "h": 126.1
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#8AAF46
secondary
#A18EC2
accent
#55D381
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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