#138C18#138C18

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

Color values

HEX#138C18
RGBrgb(19, 140, 24)
HSLhsl(122, 76%, 31%)
HSVhsv(122, 86%, 55%)
CMYKcmyk(86.4%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.64, -52.69, 48.37)
CIE-LCHlch(50.64, 71.53, 137.45°)
OKLaboklab(55.73% -0.1428 0.1075)
OKLCHoklch(55.73% 0.179 143)
XYZxyz(9.8109, 18.9593, 4.0064)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C18 #8C1387
analogous
#4A8C13 #138C18 #138C54
triadic
#138C18 #18138C #8C1813
tetradic
#138C18 #134A8C #8C1387 #8C5413
square
#138C18 #134A8C #8C1387 #8C5413
split-complementary
#138C18 #54138C #8C134A
monochromatic
#042006 #0C560F #138C18 #1AC221 #36E43D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##138C18#FFFFFF#000000##000000
##138C181.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)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c18;
/* rgb */ color: rgb(19, 140, 24);
/* oklch */ color: oklch(55.7% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#6caf60',
    500: '#138c18',
    950: '#000000',
  },
}
SCSS
$custom: #138c18;
$custom-light: #6caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#138c18",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 122.479,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.17876,
    "h": 143
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#138C18
secondary
#C03BBB
accent
#35EBF3
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #138C18

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

Preview Lab → · Contrast checker → · Palette generator →

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