#8ABC21#8ABC21

#8ABC21 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.3% C 0.179 H 127.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#8ABC21
RGBrgb(138, 188, 33)
HSLhsl(79, 70%, 43%)
HSVhsv(79, 82%, 74%)
CMYKcmyk(26.6%, 0%, 82.4%, 26.3%)
CIE-LABlab(70.51, -37.29, 65.63)
CIE-LCHlch(70.51, 75.49, 119.61°)
OKLaboklab(73.32% -0.108 0.1432)
OKLCHoklch(73.32% 0.179 127)
XYZxyz(28.7391, 41.4789, 7.9307)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8ABC21 #5321BC
analogous
#BCA021 #8ABC21 #3CBC21
triadic
#8ABC21 #218ABC #BC218A
tetradic
#8ABC21 #21BCA0 #5321BC #BC213C
square
#8ABC21 #21BCA0 #5321BC #BC213C
split-complementary
#8ABC21 #213CBC #A021BC
monochromatic
#3E540F #648818 #8ABC21 #A9DD3D #C0E671

Accessibility & contrast

On white

2.26
#8ABC21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#8ABC21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8ABC21
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8ABC21#FFFFFF#000000##000000
##8ABC211.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#90B3A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8abc21;
/* rgb */ color: rgb(138, 188, 33);
/* oklch */ color: oklch(73.3% 0.179 127.0);
Tailwind
colors: {
  custom: {
    50: '#b1d06c',
    500: '#8abc21',
    950: '#000000',
  },
}
SCSS
$custom: #8abc21;
$custom-light: #b1d06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8abc21",
  "rgb": {
    "r": 138,
    "g": 188,
    "b": 33
  },
  "hsl": {
    "h": 79.355,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7332,
    "c": 0.17934,
    "h": 127
  },
  "luminance": 0.4148
}

Semantic roles & 50–950 ramp

primary
#8ABC21
secondary
#8B6CCD
accent
#3BED74
background
#FBFCF6
surface
#F6F9EC
border
#D0D2C7
text
#111408
muted
#80827A

Preview Lab

Preview with #8ABC21

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

Preview Lab → · Contrast checker → · Palette generator →

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