#138C1F#138C1F

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

Color values

HEX#138C1F
RGBrgb(19, 140, 31)
HSLhsl(126, 76%, 31%)
HSVhsv(126, 86%, 55%)
CMYKcmyk(86.4%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.68, -52.21, 46.12)
CIE-LCHlch(50.68, 69.66, 138.54°)
OKLaboklab(55.78% -0.1412 0.1038)
OKLCHoklch(55.78% 0.175 143.7)
XYZxyz(9.8933, 18.9923, 4.4405)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C1F #8C1380
analogous
#438C13 #138C1F #138C5B
triadic
#138C1F #1F138C #8C1F13
tetradic
#138C1F #13438C #8C1380 #8C5B13
square
#138C1F #13438C #8C1380 #8C5B13
split-complementary
#138C1F #5B138C #8C1343
monochromatic
#042007 #0C5613 #138C1F #1AC22B #36E447

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##138C1F#FFFFFF#000000##000000
##138C1F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c1f;
/* rgb */ color: rgb(19, 140, 31);
/* oklch */ color: oklch(55.8% 0.175 143.7);
Tailwind
colors: {
  custom: {
    50: '#6caf63',
    500: '#138c1f',
    950: '#000000',
  },
}
SCSS
$custom: #138c1f;
$custom-light: #6caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#138c1f",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 125.95,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.17525,
    "h": 143.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#138C1F
secondary
#C03BB3
accent
#35E0F3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #138C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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