#138F17#138F17

#138F17 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.182 H 142.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#138F17
RGBrgb(19, 143, 23)
HSLhsl(122, 77%, 32%)
HSVhsv(122, 87%, 56%)
CMYKcmyk(86.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(51.66, -53.68, 49.62)
CIE-LCHlch(51.66, 73.10, 137.26°)
OKLaboklab(56.58% -0.1456 0.11)
OKLCHoklch(56.58% 0.182 142.9)
XYZxyz(10.2450, 19.8439, 4.1008)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138F17 #8F138B
analogous
#4D8F13 #138F17 #138F55
triadic
#138F17 #17138F #8F1713
tetradic
#138F17 #134D8F #8F138B #8F5513
square
#138F17 #134D8F #8F138B #8F5513
split-complementary
#138F17 #55138F #8F134D
monochromatic
#052306 #0C590E #138F17 #1AC520 #38E53D

Accessibility & contrast

On white

4.23
#138F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#138F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138F17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138F17#FFFFFF#000000##000000
##138F171.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #138f17;
/* rgb */ color: rgb(19, 143, 23);
/* oklch */ color: oklch(56.6% 0.182 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#138f17',
    950: '#000000',
  },
}
SCSS
$custom: #138f17;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#138f17",
  "rgb": {
    "r": 19,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 121.935,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.18242,
    "h": 142.9
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#138F17
secondary
#C33BBF
accent
#35EDF3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #138F17

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

Preview Lab → · Contrast checker → · Palette generator →

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