#138E1F#138E1F

#138E1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.177 H 143.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#138E1F
RGBrgb(19, 142, 31)
HSLhsl(126, 76%, 32%)
HSVhsv(126, 87%, 56%)
CMYKcmyk(86.6%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.36, -52.84, 46.79)
CIE-LCHlch(51.36, 70.58, 138.47°)
OKLaboklab(56.35% -0.1429 0.1052)
OKLCHoklch(56.35% 0.177 143.6)
XYZxyz(10.1882, 19.5821, 4.5388)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138E1F #8E1382
analogous
#458E13 #138E1F #138E5D
triadic
#138E1F #1F138E #8E1F13
tetradic
#138E1F #13458E #8E1382 #8E5D13
square
#138E1F #13458E #8E1382 #8E5D13
split-complementary
#138E1F #5D138E #8E1345
monochromatic
#052207 #0C5813 #138E1F #1AC42B #37E448

Accessibility & contrast

On white

4.27
#138E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#138E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138E1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138E1F#FFFFFF#000000##000000
##138E1F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #138e1f;
/* rgb */ color: rgb(19, 142, 31);
/* oklch */ color: oklch(56.3% 0.177 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cb063',
    500: '#138e1f',
    950: '#000000',
  },
}
SCSS
$custom: #138e1f;
$custom-light: #6cb063;
$custom-dark: #000000;
JSON
{
  "hex": "#138e1f",
  "rgb": {
    "r": 19,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 125.854,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.17746,
    "h": 143.6
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#138E1F
secondary
#C23BB5
accent
#35E0F3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #138E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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