#8AB123#8AB123

#8AB123 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.7% C 0.165 H 124.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8AB123
RGBrgb(138, 177, 35)
HSLhsl(76, 67%, 42%)
HSVhsv(76, 80%, 69%)
CMYKcmyk(22%, 0%, 80.2%, 30.6%)
CIE-LABlab(67.25, -32.18, 62.18)
CIE-LCHlch(67.25, 70.02, 117.36°)
OKLaboklab(70.68% -0.094 0.1362)
OKLCHoklch(70.68% 0.165 124.6)
XYZxyz(26.5070, 36.9686, 7.3289)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB123 #4A23B1
analogous
#B19123 #8AB123 #43B123
triadic
#8AB123 #238AB1 #B1238A
tetradic
#8AB123 #23B191 #4A23B1 #B12343
square
#8AB123 #23B191 #4A23B1 #B12343
split-complementary
#8AB123 #2343B1 #9123B1
monochromatic
#3A4B0F #627E19 #8AB123 #ACD839 #C2E26C

Accessibility & contrast

On white

2.50
#8AB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#8AB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB123
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB123#FFFFFF#000000##000000
##8AB1231.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B6A332
Tritanopia (blue-blind)
#91A897
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8ab123;
/* rgb */ color: rgb(138, 177, 35);
/* oklch */ color: oklch(70.7% 0.165 124.6);
Tailwind
colors: {
  custom: {
    50: '#b0c86b',
    500: '#8ab123',
    950: '#000000',
  },
}
SCSS
$custom: #8ab123;
$custom-light: #b0c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab123",
  "rgb": {
    "r": 138,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 76.479,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7068,
    "c": 0.16546,
    "h": 124.6
  },
  "luminance": 0.36969
}

Semantic roles & 50–950 ramp

primary
#8AB123
secondary
#8268C8
accent
#3EEA6D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB123

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

Preview Lab → · Contrast checker → · Palette generator →

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