#138C21#138C21

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

Color values

HEX#138C21
RGBrgb(19, 140, 33)
HSLhsl(127, 76%, 31%)
HSVhsv(127, 86%, 55%)
CMYKcmyk(86.4%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.69, -52.05, 45.41)
CIE-LCHlch(50.69, 69.07, 138.90°)
OKLaboklab(55.79% -0.1407 0.1026)
OKLCHoklch(55.79% 0.174 143.9)
XYZxyz(9.9205, 19.0032, 4.5837)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C21 #8C137E
analogous
#418C13 #138C21 #138C5D
triadic
#138C21 #21138C #8C2113
tetradic
#138C21 #13418C #8C137E #8C5D13
square
#138C21 #13418C #8C137E #8C5D13
split-complementary
#138C21 #5D138C #8C1341
monochromatic
#042008 #0C5614 #138C21 #1AC22E #36E44A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##138C21#FFFFFF#000000##000000
##138C211.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)
#8F7E0B
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c21;
/* rgb */ color: rgb(19, 140, 33);
/* oklch */ color: oklch(55.8% 0.174 143.9);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#138c21',
    950: '#000000',
  },
}
SCSS
$custom: #138c21;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#138c21",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 126.942,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.17411,
    "h": 143.9
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#138C21
secondary
#C03BB1
accent
#35DDF3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #138C21

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

Preview Lab → · Contrast checker → · Palette generator →

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