#8AAF4B#8AAF4B

#8AAF4B is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.135 H 126.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8AAF4B
RGBrgb(138, 175, 75)
HSLhsl(82, 40%, 49%)
HSVhsv(82, 57%, 69%)
CMYKcmyk(21.1%, 0%, 57.1%, 31.4%)
CIE-LABlab(66.95, -28.55, 46.37)
CIE-LCHlch(66.95, 54.46, 121.61°)
OKLaboklab(70.53% -0.0806 0.1085)
OKLCHoklch(70.53% 0.135 126.6)
XYZxyz(27.0812, 36.5708, 12.2874)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF4B #704BAF
analogous
#AFA24B #8AAF4B #58AF4B
triadic
#8AAF4B #4B8AAF #AF4B8A
tetradic
#8AAF4B #4BAFA2 #704BAF #AF4B58
square
#8AAF4B #4BAFA2 #704BAF #AF4B58
split-complementary
#8AAF4B #4B58AF #A24BAF
monochromatic
#465926 #688439 #8AAF4B #A6C374 #C1D69F

Accessibility & contrast

On white

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

On black

8.31
#8AAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF4B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF4B#FFFFFF#000000##000000
##8AAF4B1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A441
Deuteranopia (green-blind)
#B2A252
Tritanopia (blue-blind)
#8FA899
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf4b;
/* rgb */ color: rgb(138, 175, 75);
/* oklch */ color: oklch(70.5% 0.135 126.6);
Tailwind
colors: {
  custom: {
    50: '#aec781',
    500: '#8aaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf4b;
$custom-light: #aec781;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf4b",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 82.2,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.70531,
    "c": 0.13514,
    "h": 126.6
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#8AAF4B
secondary
#A593C2
accent
#58D084
background
#FAFCF8
surface
#F5F8EF
border
#CFD1CA
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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