#8AB23D#8AB23D

#8AB23D is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.151 H 126.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8AB23D
RGBrgb(138, 178, 61)
HSLhsl(81, 49%, 47%)
HSVhsv(81, 66%, 70%)
CMYKcmyk(22.5%, 0%, 65.7%, 30.2%)
CIE-LABlab(67.71, -31.15, 53.40)
CIE-LCHlch(67.71, 61.82, 120.26°)
OKLaboklab(71.1% -0.089 0.1218)
OKLCHoklch(71.1% 0.151 126.2)
XYZxyz(27.2440, 37.5806, 10.2324)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB23D #653DB2
analogous
#B2A03D #8AB23D #50B23D
triadic
#8AB23D #3D8AB2 #B23D8A
tetradic
#8AB23D #3DB2A0 #653DB2 #B23D50
square
#8AB23D #3DB2A0 #653DB2 #B23D50
split-complementary
#8AB23D #3D50B2 #A03DB2
monochromatic
#43571E #67842D #8AB23D #A6C963 #C0D990

Accessibility & contrast

On white

2.47
#8AB23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#8AB23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB23D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB23D#FFFFFF#000000##000000
##8AB23D1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#B6A446
Tritanopia (blue-blind)
#8FAA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab23d;
/* rgb */ color: rgb(138, 178, 61);
/* oklch */ color: oklch(71.1% 0.151 126.2);
Tailwind
colors: {
  custom: {
    50: '#afc978',
    500: '#8ab23d',
    950: '#000000',
  },
}
SCSS
$custom: #8ab23d;
$custom-light: #afc978;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab23d",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 80.513,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71101,
    "c": 0.15083,
    "h": 126.2
  },
  "luminance": 0.37581
}

Semantic roles & 50–950 ramp

primary
#8AB23D
secondary
#9C87C4
accent
#4FD97E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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