#18A12F#18A12F

#18A12F is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.188 H 144.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#18A12F
RGBrgb(24, 161, 47)
HSLhsl(130, 74%, 36%)
HSVhsv(130, 85%, 63%)
CMYKcmyk(85.1%, 0%, 70.8%, 36.9%)
CIE-LABlab(57.93, -56.93, 47.47)
CIE-LCHlch(57.93, 74.12, 140.18°)
OKLaboklab(61.87% -0.1536 0.1087)
OKLCHoklch(61.87% 0.188 144.7)
XYZxyz(13.6337, 25.8875, 6.9670)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A12F #A1188A
analogous
#46A118 #18A12F #18A174
triadic
#18A12F #2F18A1 #A12F18
tetradic
#18A12F #1846A1 #A1188A #A17418
square
#18A12F #1846A1 #A1188A #A17418
split-complementary
#18A12F #7418A1 #A11846
monochromatic
#083610 #106C1F #18A12F #20D63F #4FE568

Accessibility & contrast

On white

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

On black

6.18
#18A12F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A12F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A12F#FFFFFF#000000##000000
##18A12F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a12f;
/* rgb */ color: rgb(24, 161, 47);
/* oklch */ color: oklch(61.9% 0.188 144.7);
Tailwind
colors: {
  custom: {
    50: '#72be6e',
    500: '#18a12f',
    950: '#000000',
  },
}
SCSS
$custom: #18a12f;
$custom-light: #72be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#18a12f",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 130.073,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.18814,
    "h": 144.7
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#18A12F
secondary
#C74EB3
accent
#37D2F1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #18A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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