#138E21#138E21

#138E21 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.176 H 143.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#138E21
RGBrgb(19, 142, 33)
HSLhsl(127, 76%, 32%)
HSVhsv(127, 87%, 56%)
CMYKcmyk(86.6%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.37, -52.68, 46.09)
CIE-LCHlch(51.37, 70.00, 138.81°)
OKLaboklab(56.36% -0.1424 0.104)
OKLCHoklch(56.36% 0.176 143.9)
XYZxyz(10.2154, 19.5930, 4.6820)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138E21 #8E1380
analogous
#438E13 #138E21 #138E5F
triadic
#138E21 #21138E #8E2113
tetradic
#138E21 #13438E #8E1380 #8E5F13
square
#138E21 #13438E #8E1380 #8E5F13
split-complementary
#138E21 #5F138E #8E1343
monochromatic
#052208 #0C5814 #138E21 #1AC42E #37E44B

Accessibility & contrast

On white

4.27
#138E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#138E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138E21
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138E21#FFFFFF#000000##000000
##138E211.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #138e21;
/* rgb */ color: rgb(19, 142, 33);
/* oklch */ color: oklch(56.4% 0.176 143.9);
Tailwind
colors: {
  custom: {
    50: '#6cb064',
    500: '#138e21',
    950: '#000000',
  },
}
SCSS
$custom: #138e21;
$custom-light: #6cb064;
$custom-dark: #000000;
JSON
{
  "hex": "#138e21",
  "rgb": {
    "r": 19,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 126.829,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.17635,
    "h": 143.9
  },
  "luminance": 0.19594
}

Semantic roles & 50–950 ramp

primary
#138E21
secondary
#C23BB3
accent
#35DDF3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #138E21

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

Preview Lab → · Contrast checker → · Palette generator →

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