#138A21#138A21

#138A21 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.172 H 143.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#138A21
RGBrgb(19, 138, 33)
HSLhsl(127, 76%, 31%)
HSVhsv(127, 86%, 54%)
CMYKcmyk(86.2%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.01, -51.41, 44.72)
CIE-LCHlch(50.01, 68.14, 138.98°)
OKLaboklab(55.22% -0.1389 0.1012)
OKLCHoklch(55.22% 0.172 143.9)
XYZxyz(9.6309, 18.4240, 4.4872)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138A21 #8A137C
analogous
#408A13 #138A21 #138A5C
triadic
#138A21 #21138A #8A2113
tetradic
#138A21 #13408A #8A137C #8A5C13
square
#138A21 #13408A #8A137C #8A5C13
split-complementary
#138A21 #5C138A #8A1340
monochromatic
#041E07 #0C5414 #138A21 #1AC02E #34E349

Accessibility & contrast

On white

4.48
#138A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#138A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138A21
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138A21#FFFFFF#000000##000000
##138A211.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#80742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #138a21;
/* rgb */ color: rgb(19, 138, 33);
/* oklch */ color: oklch(55.2% 0.172 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bad64',
    500: '#138a21',
    950: '#000000',
  },
}
SCSS
$custom: #138a21;
$custom-light: #6bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#138a21",
  "rgb": {
    "r": 19,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 127.059,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.17187,
    "h": 143.9
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#138A21
secondary
#BE3AAF
accent
#35DCF2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #138A21

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

Preview Lab → · Contrast checker → · Palette generator →

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