#18A128#18A128

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

Color values

HEX#18A128
RGBrgb(24, 161, 40)
HSLhsl(127, 74%, 36%)
HSVhsv(127, 85%, 63%)
CMYKcmyk(85.1%, 0%, 75.2%, 36.9%)
CIE-LABlab(57.88, -57.55, 50.10)
CIE-LCHlch(57.88, 76.30, 138.96°)
OKLaboklab(61.81% -0.1555 0.1133)
OKLCHoklch(61.81% 0.192 143.9)
XYZxyz(13.5036, 25.8354, 6.2821)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A128 #A11891
analogous
#4DA118 #18A128 #18A16D
triadic
#18A128 #2818A1 #A12818
tetradic
#18A128 #184DA1 #A11891 #A16D18
square
#18A128 #184DA1 #A11891 #A16D18
split-complementary
#18A128 #6D18A1 #A1184D
monochromatic
#08360E #106C1B #18A128 #20D635 #4FE560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18A128#FFFFFF#000000##000000
##18A1281.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)
#A49110
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a128;
/* rgb */ color: rgb(24, 161, 40);
/* oklch */ color: oklch(61.8% 0.192 143.9);
Tailwind
colors: {
  custom: {
    50: '#72be6a',
    500: '#18a128',
    950: '#000000',
  },
}
SCSS
$custom: #18a128;
$custom-light: #72be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18a128",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 127.007,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.19243,
    "h": 143.9
  },
  "luminance": 0.25837
}

Semantic roles & 50–950 ramp

primary
#18A128
secondary
#C74EB9
accent
#37DBF1
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#091207
muted
#7B817A

Preview Lab

Preview with #18A128

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

Preview Lab → · Contrast checker → · Palette generator →

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