#8AAF26#8AAF26

#8AAF26 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.2% C 0.162 H 124.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8AAF26
RGBrgb(138, 175, 38)
HSLhsl(76, 64%, 42%)
HSVhsv(76, 78%, 69%)
CMYKcmyk(21.1%, 0%, 78.3%, 31.4%)
CIE-LABlab(66.67, -31.11, 60.77)
CIE-LCHlch(66.67, 68.27, 117.11°)
OKLaboklab(70.22% -0.0909 0.1337)
OKLCHoklch(70.22% 0.162 124.2)
XYZxyz(26.1613, 36.2029, 7.4429)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF26 #4B26AF
analogous
#AF9026 #8AAF26 #46AF26
triadic
#8AAF26 #268AAF #AF268A
tetradic
#8AAF26 #26AF90 #4B26AF #AF2646
square
#8AAF26 #26AF90 #4B26AF #AF2646
split-complementary
#8AAF26 #2646AF #9026AF
monochromatic
#3B4A10 #627D1B #8AAF26 #ACD53D #C2E070

Accessibility & contrast

On white

2.55
#8AAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#8AAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF26
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF26#FFFFFF#000000##000000
##8AAF261.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#91A696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf26;
/* rgb */ color: rgb(138, 175, 38);
/* oklch */ color: oklch(70.2% 0.162 124.2);
Tailwind
colors: {
  custom: {
    50: '#b0c76c',
    500: '#8aaf26',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf26;
$custom-light: #b0c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf26",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 76.204,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70216,
    "c": 0.16163,
    "h": 124.2
  },
  "luminance": 0.36203
}

Semantic roles & 50–950 ramp

primary
#8AAF26
secondary
#836AC7
accent
#40E76E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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