#8AB223#8AB223

#8AB223 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.9% C 0.167 H 124.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8AB223
RGBrgb(138, 178, 35)
HSLhsl(77, 67%, 42%)
HSVhsv(77, 80%, 70%)
CMYKcmyk(22.5%, 0%, 80.3%, 30.2%)
CIE-LABlab(67.55, -32.65, 62.45)
CIE-LCHlch(67.55, 70.47, 117.60°)
OKLaboklab(70.92% -0.0953 0.1367)
OKLCHoklch(70.92% 0.167 124.9)
XYZxyz(26.7053, 37.3651, 7.3950)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB223 #4B23B2
analogous
#B29323 #8AB223 #43B223
triadic
#8AB223 #238AB2 #B2238A
tetradic
#8AB223 #23B293 #4B23B2 #B22343
square
#8AB223 #23B293 #4B23B2 #B22343
split-complementary
#8AB223 #2343B2 #9323B2
monochromatic
#3B4C0F #627F19 #8AB223 #ACD83A #C2E26D

Accessibility & contrast

On white

2.48
#8AB223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#8AB223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB223
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB223#FFFFFF#000000##000000
##8AB2231.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#91A998
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab223;
/* rgb */ color: rgb(138, 178, 35);
/* oklch */ color: oklch(70.9% 0.167 124.9);
Tailwind
colors: {
  custom: {
    50: '#b0c96b',
    500: '#8ab223',
    950: '#000000',
  },
}
SCSS
$custom: #8ab223;
$custom-light: #b0c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab223",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 76.783,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7092,
    "c": 0.16665,
    "h": 124.9
  },
  "luminance": 0.37365
}

Semantic roles & 50–950 ramp

primary
#8AB223
secondary
#8368C9
accent
#3EEA6E
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB223

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

Preview Lab → · Contrast checker → · Palette generator →

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