#18A127#18A127

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

Color values

HEX#18A127
RGBrgb(24, 161, 39)
HSLhsl(127, 74%, 36%)
HSVhsv(127, 85%, 63%)
CMYKcmyk(85.1%, 0%, 75.8%, 36.9%)
CIE-LABlab(57.87, -57.63, 50.45)
CIE-LCHlch(57.87, 76.59, 138.80°)
OKLaboklab(61.8% -0.1558 0.1139)
OKLCHoklch(61.8% 0.193 143.8)
XYZxyz(13.4868, 25.8287, 6.1937)
Luminance0.2583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A127 #A11892
analogous
#4EA118 #18A127 #18A16C
triadic
#18A127 #2718A1 #A12718
tetradic
#18A127 #184EA1 #A11892 #A16C18
square
#18A127 #184EA1 #A11892 #A16C18
split-complementary
#18A127 #6C18A1 #A1184E
monochromatic
#08360D #106C1A #18A127 #20D634 #4FE55F

Accessibility & contrast

On white

3.41
#18A127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##18A127#FFFFFF#000000##000000
##18A1271.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18a127;
/* rgb */ color: rgb(24, 161, 39);
/* oklch */ color: oklch(61.8% 0.193 143.8);
Tailwind
colors: {
  custom: {
    50: '#72be6a',
    500: '#18a127',
    950: '#000000',
  },
}
SCSS
$custom: #18a127;
$custom-light: #72be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18a127",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 126.569,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61801,
    "c": 0.193,
    "h": 143.8
  },
  "luminance": 0.2583
}

Semantic roles & 50–950 ramp

primary
#18A127
secondary
#C74EBA
accent
#37DCF1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #18A127

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

Preview Lab → · Contrast checker → · Palette generator →

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