#18A138#18A138

#18A138 is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.182 H 145.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#18A138
RGBrgb(24, 161, 56)
HSLhsl(134, 74%, 36%)
HSVhsv(134, 85%, 63%)
CMYKcmyk(85.1%, 0%, 65.2%, 36.9%)
CIE-LABlab(58.01, -55.98, 43.75)
CIE-LCHlch(58.01, 71.05, 141.99°)
OKLaboklab(61.95% -0.1506 0.1018)
OKLCHoklch(61.95% 0.182 145.9)
XYZxyz(13.8343, 25.9677, 8.0238)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18A138 #A11881
analogous
#3CA118 #18A138 #18A17D
triadic
#18A138 #3818A1 #A13818
tetradic
#18A138 #183CA1 #A11881 #A17D18
square
#18A138 #183CA1 #A11881 #A17D18
split-complementary
#18A138 #7D18A1 #A1183C
monochromatic
#083613 #106C25 #18A138 #20D64B #4FE572

Accessibility & contrast

On white

3.39
#18A138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#18A138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #18A138
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18A138#FFFFFF#000000##000000
##18A1381.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912B
Deuteranopia (green-blind)
#958741
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #18a138;
/* rgb */ color: rgb(24, 161, 56);
/* oklch */ color: oklch(62.0% 0.182 145.9);
Tailwind
colors: {
  custom: {
    50: '#71be73',
    500: '#18a138',
    950: '#000000',
  },
}
SCSS
$custom: #18a138;
$custom-light: #71be73;
$custom-dark: #000000;
JSON
{
  "hex": "#18a138",
  "rgb": {
    "r": 24,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 134.015,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.18183,
    "h": 145.9
  },
  "luminance": 0.25969
}

Semantic roles & 50–950 ramp

primary
#18A138
secondary
#C74EAB
accent
#37C5F1
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #18A138

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

Preview Lab → · Contrast checker → · Palette generator →

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