#8AA628#8AA628

#8AA628 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 68.1% C 0.150 H 121.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8AA628
RGBrgb(138, 166, 40)
HSLhsl(73, 61%, 40%)
HSVhsv(73, 76%, 65%)
CMYKcmyk(16.9%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.02, -26.71, 57.65)
CIE-LCHlch(64.02, 63.53, 114.86°)
OKLaboklab(68.08% -0.0787 0.1274)
OKLCHoklch(68.08% 0.15 121.7)
XYZxyz(24.5008, 32.8289, 7.0529)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA628 #4428A6
analogous
#A68328 #8AA628 #4BA628
triadic
#8AA628 #288AA6 #A6288A
tetradic
#8AA628 #28A683 #4428A6 #A6284B
square
#8AA628 #28A683 #4428A6 #A6284B
split-complementary
#8AA628 #284BA6 #8328A6
monochromatic
#384310 #61751C #8AA628 #AFD03B #C3DC6D

Accessibility & contrast

On white

2.78
#8AA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#8AA628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA628
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA628#FFFFFF#000000##000000
##8AA6281.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0A
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#929D8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8aa628;
/* rgb */ color: rgb(138, 166, 40);
/* oklch */ color: oklch(68.1% 0.150 121.7);
Tailwind
colors: {
  custom: {
    50: '#b0c06c',
    500: '#8aa628',
    950: '#000000',
  },
}
SCSS
$custom: #8aa628;
$custom-light: #b0c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa628",
  "rgb": {
    "r": 138,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 73.333,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68075,
    "c": 0.14975,
    "h": 121.7
  },
  "luminance": 0.32829
}

Semantic roles & 50–950 ramp

primary
#8AA628
secondary
#7C67C2
accent
#44E467
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA628

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

Preview Lab → · Contrast checker → · Palette generator →

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