#8AAF30#8AAF30

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

Color values

HEX#8AAF30
RGBrgb(138, 175, 48)
HSLhsl(77, 57%, 44%)
HSVhsv(77, 73%, 69%)
CMYKcmyk(21.1%, 0%, 72.6%, 31.4%)
CIE-LABlab(66.73, -30.59, 57.47)
CIE-LCHlch(66.73, 65.10, 118.03°)
OKLaboklab(70.28% -0.0887 0.1284)
OKLCHoklch(70.28% 0.156 124.6)
XYZxyz(26.3449, 36.2763, 8.4098)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF30 #5530AF
analogous
#AF9430 #8AAF30 #4AAF30
triadic
#8AAF30 #308AAF #AF308A
tetradic
#8AAF30 #30AF94 #5530AF #AF304A
square
#8AAF30 #30AF94 #5530AF #AF304A
split-complementary
#8AAF30 #304AAF #9430AF
monochromatic
#3E4F16 #647F23 #8AAF30 #A9CE4E #C0DC7E

Accessibility & contrast

On white

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

On black

8.26
#8AAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF30
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF30#FFFFFF#000000##000000
##8AAF301.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#90A696
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf30;
/* rgb */ color: rgb(138, 175, 48);
/* oklch */ color: oklch(70.3% 0.156 124.6);
Tailwind
colors: {
  custom: {
    50: '#b0c771',
    500: '#8aaf30',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf30;
$custom-light: #b0c771;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf30",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 77.48,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70279,
    "c": 0.156,
    "h": 124.6
  },
  "luminance": 0.36277
}

Semantic roles & 50–950 ramp

primary
#8AAF30
secondary
#8D76C4
accent
#48E074
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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