#18A12B#18A12B

#18A12B is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.8% C 0.191 H 144.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#18A12B
RGBrgb(24, 161, 43)
HSLhsl(128, 74%, 36%)
HSVhsv(128, 85%, 63%)
CMYKcmyk(85.1%, 0%, 73.3%, 36.9%)
CIE-LABlab(57.90, -57.30, 49.00)
CIE-LCHlch(57.90, 75.39, 139.46°)
OKLaboklab(61.83% -0.1547 0.1114)
OKLCHoklch(61.83% 0.191 144.2)
XYZxyz(13.5567, 25.8566, 6.5614)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A12B #A1188E
analogous
#4AA118 #18A12B #18A170
triadic
#18A12B #2B18A1 #A12B18
tetradic
#18A12B #184AA1 #A1188E #A17018
square
#18A12B #184AA1 #A1188E #A17018
split-complementary
#18A12B #7018A1 #A1184A
monochromatic
#08360F #106C1D #18A12B #20D639 #4FE563

Accessibility & contrast

On white

3.40
#18A12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#18A12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A12B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A12B#FFFFFF#000000##000000
##18A12B1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a12b;
/* rgb */ color: rgb(24, 161, 43);
/* oklch */ color: oklch(61.8% 0.191 144.2);
Tailwind
colors: {
  custom: {
    50: '#72be6c',
    500: '#18a12b',
    950: '#000000',
  },
}
SCSS
$custom: #18a12b;
$custom-light: #72be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#18a12b",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 128.321,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.19066,
    "h": 144.2
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#18A12B
secondary
#C74EB6
accent
#37D7F1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #18A12B

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

Preview Lab → · Contrast checker → · Palette generator →

#18A12B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva