#8ABA2D#8ABA2D

#8ABA2D is a light, vivid yellow-green. Relative luminance 0.407; OKLCH L 72.9% C 0.171 H 127.1°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8ABA2D
RGBrgb(138, 186, 45)
HSLhsl(80, 61%, 45%)
HSVhsv(80, 76%, 73%)
CMYKcmyk(25.8%, 0%, 75.8%, 27.1%)
CIE-LABlab(69.97, -35.85, 61.63)
CIE-LCHlch(69.97, 71.30, 120.19°)
OKLaboklab(72.9% -0.1033 0.1366)
OKLCHoklch(72.9% 0.171 127.1)
XYZxyz(28.5139, 40.7100, 8.8377)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ABA2D #5D2DBA
analogous
#BAA42D #8ABA2D #43BA2D
triadic
#8ABA2D #2D8ABA #BA2D8A
tetradic
#8ABA2D #2DBAA4 #5D2DBA #BA2D43
square
#8ABA2D #2DBAA4 #5D2DBA #BA2D43
split-complementary
#8ABA2D #2D43BA #A42DBA
monochromatic
#415715 #658921 #8ABA2D #A7D550 #C0E081

Accessibility & contrast

On white

2.30
#8ABA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#8ABA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ABA2D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ABA2D#FFFFFF#000000##000000
##8ABA2D1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0A
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#8FB19F
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #8aba2d;
/* rgb */ color: rgb(138, 186, 45);
/* oklch */ color: oklch(72.9% 0.171 127.1);
Tailwind
colors: {
  custom: {
    50: '#b0cf71',
    500: '#8aba2d',
    950: '#000000',
  },
}
SCSS
$custom: #8aba2d;
$custom-light: #b0cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#8aba2d",
  "rgb": {
    "r": 138,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 80.426,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72901,
    "c": 0.17127,
    "h": 127.1
  },
  "luminance": 0.40711
}

Semantic roles & 50–950 ramp

primary
#8ABA2D
secondary
#9579C9
accent
#44E47A
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8ABA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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