#8AAF2C#8AAF2C

#8AAF2C is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.3% C 0.158 H 124.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8AAF2C
RGBrgb(138, 175, 44)
HSLhsl(77, 60%, 43%)
HSVhsv(77, 75%, 69%)
CMYKcmyk(21.1%, 0%, 74.9%, 31.4%)
CIE-LABlab(66.71, -30.82, 58.85)
CIE-LCHlch(66.71, 66.43, 117.64°)
OKLaboklab(70.25% -0.0896 0.1306)
OKLCHoklch(70.25% 0.158 124.4)
XYZxyz(26.2661, 36.2448, 7.9945)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF2C #512CAF
analogous
#AF932C #8AAF2C #48AF2C
triadic
#8AAF2C #2C8AAF #AF2C8A
tetradic
#8AAF2C #2CAF93 #512CAF #AF2C48
square
#8AAF2C #2CAF93 #512CAF #AF2C48
split-complementary
#8AAF2C #2C48AF #932CAF
monochromatic
#3D4D13 #637E20 #8AAF2C #AAD147 #C1DD78

Accessibility & contrast

On white

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

On black

8.25
#8AAF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF2C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF2C#FFFFFF#000000##000000
##8AAF2C1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8aaf2c;
/* rgb */ color: rgb(138, 175, 44);
/* oklch */ color: oklch(70.3% 0.158 124.4);
Tailwind
colors: {
  custom: {
    50: '#b0c76f',
    500: '#8aaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf2c;
$custom-light: #b0c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf2c",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 76.947,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.1584,
    "h": 124.4
  },
  "luminance": 0.36245
}

Semantic roles & 50–950 ramp

primary
#8AAF2C
secondary
#8972C5
accent
#45E371
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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