#8AAF38#8AAF38

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

Color values

HEX#8AAF38
RGBrgb(138, 175, 56)
HSLhsl(79, 52%, 45%)
HSVhsv(79, 68%, 69%)
CMYKcmyk(21.1%, 0%, 68%, 31.4%)
CIE-LABlab(66.79, -30.09, 54.47)
CIE-LCHlch(66.79, 62.23, 118.92°)
OKLaboklab(70.34% -0.0866 0.1233)
OKLCHoklch(70.34% 0.151 125.1)
XYZxyz(26.5252, 36.3484, 9.3591)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF38 #5D38AF
analogous
#AF9838 #8AAF38 #4FAF38
triadic
#8AAF38 #388AAF #AF388A
tetradic
#8AAF38 #38AF98 #5D38AF #AF384F
square
#8AAF38 #38AF98 #5D38AF #AF384F
split-complementary
#8AAF38 #384FAF #9838AF
monochromatic
#41521A #658129 #8AAF38 #A7CA5A #C0D988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAF38#FFFFFF#000000##000000
##8AAF381.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)
#B8A427
Deuteranopia (green-blind)
#B3A242
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf38;
/* rgb */ color: rgb(138, 175, 56);
/* oklch */ color: oklch(70.3% 0.151 125.1);
Tailwind
colors: {
  custom: {
    50: '#afc775',
    500: '#8aaf38',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf38;
$custom-light: #afc775;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf38",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 78.655,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70341,
    "c": 0.15065,
    "h": 125.1
  },
  "luminance": 0.36349
}

Semantic roles & 50–950 ramp

primary
#8AAF38
secondary
#9580C3
accent
#4DDB79
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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