#138C22#138C22

#138C22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.174 H 144.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#138C22
RGBrgb(19, 140, 34)
HSLhsl(127, 76%, 31%)
HSVhsv(127, 86%, 55%)
CMYKcmyk(86.4%, 0%, 75.7%, 45.1%)
CIE-LABlab(50.70, -51.96, 45.05)
CIE-LCHlch(50.70, 68.77, 139.08°)
OKLaboklab(55.8% -0.1404 0.102)
OKLCHoklch(55.8% 0.174 144)
XYZxyz(9.9347, 19.0089, 4.6585)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C22 #8C137D
analogous
#408C13 #138C22 #138C5E
triadic
#138C22 #22138C #8C2213
tetradic
#138C22 #13408C #8C137D #8C5E13
square
#138C22 #13408C #8C137D #8C5E13
split-complementary
#138C22 #5E138C #8C1340
monochromatic
#042008 #0C5615 #138C22 #1AC22F #36E44B

Accessibility & contrast

On white

4.37
#138C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#138C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138C22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138C22#FFFFFF#000000##000000
##138C221.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c22;
/* rgb */ color: rgb(19, 140, 34);
/* oklch */ color: oklch(55.8% 0.174 144.0);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#138c22',
    950: '#000000',
  },
}
SCSS
$custom: #138c22;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#138c22",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 127.438,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.17352,
    "h": 144
  },
  "luminance": 0.1901
}

Semantic roles & 50–950 ramp

primary
#138C22
secondary
#C03BB0
accent
#35DBF3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #138C22

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

Preview Lab → · Contrast checker → · Palette generator →

#138C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva