#138C1B#138C1B

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

Color values

HEX#138C1B
RGBrgb(19, 140, 27)
HSLhsl(124, 76%, 31%)
HSVhsv(124, 86%, 55%)
CMYKcmyk(86.4%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.66, -52.50, 47.45)
CIE-LCHlch(50.66, 70.77, 137.89°)
OKLaboklab(55.75% -0.1422 0.106)
OKLCHoklch(55.75% 0.177 143.3)
XYZxyz(9.8438, 18.9725, 4.1800)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C1B #8C1384
analogous
#478C13 #138C1B #138C57
triadic
#138C1B #1B138C #8C1B13
tetradic
#138C1B #13478C #8C1384 #8C5713
square
#138C1B #13478C #8C1384 #8C5713
split-complementary
#138C1B #57138C #8C1347
monochromatic
#042006 #0C5611 #138C1B #1AC225 #36E441

Accessibility & contrast

On white

4.38
#138C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#138C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138C1B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138C1B#FFFFFF#000000##000000
##138C1B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c1b;
/* rgb */ color: rgb(19, 140, 27);
/* oklch */ color: oklch(55.8% 0.177 143.3);
Tailwind
colors: {
  custom: {
    50: '#6caf61',
    500: '#138c1b',
    950: '#000000',
  },
}
SCSS
$custom: #138c1b;
$custom-light: #6caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#138c1b",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 123.967,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5575,
    "c": 0.17734,
    "h": 143.3
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#138C1B
secondary
#C03BB7
accent
#35E6F3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #138C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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