#18A12A#18A12A

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

Color values

HEX#18A12A
RGBrgb(24, 161, 42)
HSLhsl(128, 74%, 36%)
HSVhsv(128, 85%, 63%)
CMYKcmyk(85.1%, 0%, 73.9%, 36.9%)
CIE-LABlab(57.89, -57.38, 49.37)
CIE-LCHlch(57.89, 75.70, 139.29°)
OKLaboklab(61.82% -0.155 0.112)
OKLCHoklch(61.82% 0.191 144.1)
XYZxyz(13.5385, 25.8494, 6.4659)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A12A #A1188F
analogous
#4BA118 #18A12A #18A16F
triadic
#18A12A #2A18A1 #A12A18
tetradic
#18A12A #184BA1 #A1188F #A16F18
square
#18A12A #184BA1 #A1188F #A16F18
split-complementary
#18A12A #6F18A1 #A1184B
monochromatic
#08360E #106C1C #18A12A #20D638 #4FE562

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18A12A#FFFFFF#000000##000000
##18A12A1.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)
#A49114
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a12a;
/* rgb */ color: rgb(24, 161, 42);
/* oklch */ color: oklch(61.8% 0.191 144.1);
Tailwind
colors: {
  custom: {
    50: '#72be6b',
    500: '#18a12a',
    950: '#000000',
  },
}
SCSS
$custom: #18a12a;
$custom-light: #72be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#18a12a",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 127.883,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.19126,
    "h": 144.1
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#18A12A
secondary
#C74EB7
accent
#37D8F1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #18A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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