#18A142#18A142

#18A142 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.174 H 147.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#18A142
RGBrgb(24, 161, 66)
HSLhsl(138, 74%, 36%)
HSVhsv(138, 85%, 63%)
CMYKcmyk(85.1%, 0%, 59%, 36.9%)
CIE-LABlab(58.11, -54.72, 39.25)
CIE-LCHlch(58.11, 67.34, 144.35°)
OKLaboklab(62.07% -0.1469 0.0931)
OKLCHoklch(62.07% 0.174 147.6)
XYZxyz(14.1038, 26.0755, 9.4429)
Luminance0.2608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A142 #A11877
analogous
#33A118 #18A142 #18A187
triadic
#18A142 #4218A1 #A14218
tetradic
#18A142 #1833A1 #A11877 #A18718
square
#18A142 #1833A1 #A11877 #A18718
split-complementary
#18A142 #8718A1 #A11833
monochromatic
#083616 #106C2C #18A142 #20D658 #4FE57D

Accessibility & contrast

On white

3.38
#18A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#18A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A142
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A142#FFFFFF#000000##000000
##18A1421.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#94884A
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #18a142;
/* rgb */ color: rgb(24, 161, 66);
/* oklch */ color: oklch(62.1% 0.174 147.6);
Tailwind
colors: {
  custom: {
    50: '#71be79',
    500: '#18a142',
    950: '#000000',
  },
}
SCSS
$custom: #18a142;
$custom-light: #71be79;
$custom-dark: #000000;
JSON
{
  "hex": "#18a142",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 138.394,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62072,
    "c": 0.17393,
    "h": 147.6
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#18A142
secondary
#C74EA2
accent
#37B8F1
background
#F7FBF7
surface
#EDF7EE
border
#C8D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #18A142

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

Preview Lab → · Contrast checker → · Palette generator →

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