#8AA223#8AA223

#8AA223 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.1% C 0.148 H 120.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8AA223
RGBrgb(138, 162, 35)
HSLhsl(71, 64%, 39%)
HSVhsv(71, 78%, 64%)
CMYKcmyk(14.8%, 0%, 78.4%, 36.5%)
CIE-LABlab(62.81, -24.99, 58.15)
CIE-LCHlch(62.81, 63.29, 113.26°)
OKLaboklab(67.09% -0.0743 0.1276)
OKLCHoklch(67.09% 0.148 120.2)
XYZxyz(23.7054, 31.3654, 6.3951)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA223 #3B23A2
analogous
#A27A23 #8AA223 #4AA223
triadic
#8AA223 #238AA2 #A2238A
tetradic
#8AA223 #23A27A #3B23A2 #A2234A
square
#8AA223 #23A27A #3B23A2 #A2234A
split-complementary
#8AA223 #234AA2 #7A23A2
monochromatic
#343D0D #5F7018 #8AA223 #B4D230 #C6DD62

Accessibility & contrast

On white

2.89
#8AA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8AA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA223
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA223#FFFFFF#000000##000000
##8AA2231.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#92998A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8aa223;
/* rgb */ color: rgb(138, 162, 35);
/* oklch */ color: oklch(67.1% 0.148 120.2);
Tailwind
colors: {
  custom: {
    50: '#b0bd69',
    500: '#8aa223',
    950: '#000000',
  },
}
SCSS
$custom: #8aa223;
$custom-light: #b0bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa223",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 71.339,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67092,
    "c": 0.1477,
    "h": 120.2
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#8AA223
secondary
#715EC2
accent
#40E760
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8AA223

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

Preview Lab → · Contrast checker → · Palette generator →

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