#138D1F#138D1F

#138D1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.176 H 143.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#138D1F
RGBrgb(19, 141, 31)
HSLhsl(126, 76%, 31%)
HSVhsv(126, 87%, 55%)
CMYKcmyk(86.5%, 0%, 78%, 44.7%)
CIE-LABlab(51.02, -52.52, 46.46)
CIE-LCHlch(51.02, 70.12, 138.51°)
OKLaboklab(56.06% -0.1421 0.1045)
OKLCHoklch(56.06% 0.176 143.7)
XYZxyz(10.0401, 19.2859, 4.4895)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138D1F #8D1381
analogous
#448D13 #138D1F #138D5C
triadic
#138D1F #1F138D #8D1F13
tetradic
#138D1F #13448D #8D1381 #8D5C13
square
#138D1F #13448D #8D1381 #8D5C13
split-complementary
#138D1F #5C138D #8D1344
monochromatic
#042107 #0C5713 #138D1F #1AC32B #36E448

Accessibility & contrast

On white

4.32
#138D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#138D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138D1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138D1F#FFFFFF#000000##000000
##138D1F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138d1f;
/* rgb */ color: rgb(19, 141, 31);
/* oklch */ color: oklch(56.1% 0.176 143.7);
Tailwind
colors: {
  custom: {
    50: '#6cb063',
    500: '#138d1f',
    950: '#000000',
  },
}
SCSS
$custom: #138d1f;
$custom-light: #6cb063;
$custom-dark: #000000;
JSON
{
  "hex": "#138d1f",
  "rgb": {
    "r": 19,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 125.902,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56061,
    "c": 0.17635,
    "h": 143.7
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#138D1F
secondary
#C13BB4
accent
#35E0F3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #138D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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