#8AAF37#8AAF37

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

Color values

HEX#8AAF37
RGBrgb(138, 175, 55)
HSLhsl(79, 52%, 45%)
HSVhsv(79, 69%, 69%)
CMYKcmyk(21.1%, 0%, 68.6%, 31.4%)
CIE-LABlab(66.78, -30.16, 54.86)
CIE-LCHlch(66.78, 62.60, 118.80°)
OKLaboklab(70.33% -0.0868 0.124)
OKLCHoklch(70.33% 0.151 125)
XYZxyz(26.5010, 36.3388, 9.2316)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF37 #5C37AF
analogous
#AF9837 #8AAF37 #4EAF37
triadic
#8AAF37 #378AAF #AF378A
tetradic
#8AAF37 #37AF98 #5C37AF #AF374E
square
#8AAF37 #37AF98 #5C37AF #AF374E
split-complementary
#8AAF37 #374EAF #9837AF
monochromatic
#41521A #658028 #8AAF37 #A7CB59 #C0D987

Accessibility & contrast

On white

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

On black

8.27
#8AAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF37
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF37#FFFFFF#000000##000000
##8AAF371.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf37;
/* rgb */ color: rgb(138, 175, 55);
/* oklch */ color: oklch(70.3% 0.151 125.0);
Tailwind
colors: {
  custom: {
    50: '#afc775',
    500: '#8aaf37',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf37;
$custom-light: #afc775;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf37",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 78.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70332,
    "c": 0.15135,
    "h": 125
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#8AAF37
secondary
#947FC3
accent
#4CDC78
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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