#8AB238#8AB238

#8AB238 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.154 H 125.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8AB238
RGBrgb(138, 178, 56)
HSLhsl(80, 52%, 46%)
HSVhsv(80, 69%, 70%)
CMYKcmyk(22.5%, 0%, 68.5%, 30.2%)
CIE-LABlab(67.67, -31.50, 55.38)
CIE-LCHlch(67.67, 63.72, 119.63°)
OKLaboklab(71.06% -0.0905 0.1252)
OKLCHoklch(71.06% 0.154 125.8)
XYZxyz(27.1156, 37.5292, 9.5559)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB238 #6038B2
analogous
#B29D38 #8AB238 #4DB238
triadic
#8AB238 #388AB2 #B2388A
tetradic
#8AB238 #38B29D #6038B2 #B2384D
square
#8AB238 #38B29D #6038B2 #B2384D
split-complementary
#8AB238 #384DB2 #9D38B2
monochromatic
#42551B #668329 #8AB238 #A7CC5C #C0DA8A

Accessibility & contrast

On white

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

On black

8.51
#8AB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB238
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB238#FFFFFF#000000##000000
##8AB2381.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B6A442
Tritanopia (blue-blind)
#90AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab238;
/* rgb */ color: rgb(138, 178, 56);
/* oklch */ color: oklch(71.1% 0.154 125.8);
Tailwind
colors: {
  custom: {
    50: '#afc976',
    500: '#8ab238',
    950: '#000000',
  },
}
SCSS
$custom: #8ab238;
$custom-light: #afc976;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab238",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 79.672,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71058,
    "c": 0.15447,
    "h": 125.8
  },
  "luminance": 0.3753
}

Semantic roles & 50–950 ramp

primary
#8AB238
secondary
#9781C5
accent
#4CDC7B
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB238

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

Preview Lab → · Contrast checker → · Palette generator →

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