#138E31#138E31

#138E31 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.166 H 146.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#138E31
RGBrgb(19, 142, 49)
HSLhsl(135, 76%, 32%)
HSVhsv(135, 87%, 56%)
CMYKcmyk(86.6%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.50, -51.08, 39.62)
CIE-LCHlch(51.50, 64.65, 142.20°)
OKLaboklab(56.51% -0.1374 0.0924)
OKLCHoklch(56.51% 0.166 146.1)
XYZxyz(10.4951, 19.7049, 6.1554)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138E31 #8E1370
analogous
#338E13 #138E31 #138E6F
triadic
#138E31 #31138E #8E3113
tetradic
#138E31 #13338E #8E1370 #8E6F13
square
#138E31 #13338E #8E1370 #8E6F13
split-complementary
#138E31 #6F138E #8E1333
monochromatic
#05220C #0C581E #138E31 #1AC444 #37E461

Accessibility & contrast

On white

4.25
#138E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#138E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138E31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138E31#FFFFFF#000000##000000
##138E311.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #138e31;
/* rgb */ color: rgb(19, 142, 49);
/* oklch */ color: oklch(56.5% 0.166 146.1);
Tailwind
colors: {
  custom: {
    50: '#6bb06d',
    500: '#138e31',
    950: '#000000',
  },
}
SCSS
$custom: #138e31;
$custom-light: #6bb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#138e31",
  "rgb": {
    "r": 19,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 134.634,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.16556,
    "h": 146.1
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#138E31
secondary
#C23BA1
accent
#35C5F3
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #138E31

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

Preview Lab → · Contrast checker → · Palette generator →

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