#8AAF3B#8AAF3B

#8AAF3B is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.148 H 125.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8AAF3B
RGBrgb(138, 175, 59)
HSLhsl(79, 50%, 46%)
HSVhsv(79, 66%, 69%)
CMYKcmyk(21.1%, 0%, 66.3%, 31.4%)
CIE-LABlab(66.81, -29.88, 53.27)
CIE-LCHlch(66.81, 61.08, 119.28°)
OKLaboklab(70.37% -0.0857 0.1212)
OKLCHoklch(70.37% 0.148 125.3)
XYZxyz(26.6008, 36.3787, 9.7572)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF3B #603BAF
analogous
#AF9A3B #8AAF3B #50AF3B
triadic
#8AAF3B #3B8AAF #AF3B8A
tetradic
#8AAF3B #3BAF9A #603BAF #AF3B50
square
#8AAF3B #3BAF9A #603BAF #AF3B50
split-complementary
#8AAF3B #3B50AF #9A3BAF
monochromatic
#42531C #66812C #8AAF3B #A7C95E #C0D88C

Accessibility & contrast

On white

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

On black

8.28
#8AAF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF3B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF3B#FFFFFF#000000##000000
##8AAF3B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#90A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf3b;
/* rgb */ color: rgb(138, 175, 59);
/* oklch */ color: oklch(70.4% 0.148 125.3);
Tailwind
colors: {
  custom: {
    50: '#afc777',
    500: '#8aaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf3b;
$custom-light: #afc777;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf3b",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 79.138,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70366,
    "c": 0.14845,
    "h": 125.3
  },
  "luminance": 0.36379
}

Semantic roles & 50–950 ramp

primary
#8AAF3B
secondary
#9783C3
accent
#4FD97B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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