#138D17#138D17

#138D17 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.0% C 0.180 H 142.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#138D17
RGBrgb(19, 141, 23)
HSLhsl(122, 76%, 31%)
HSVhsv(122, 87%, 55%)
CMYKcmyk(86.5%, 0%, 83.7%, 44.7%)
CIE-LABlab(50.98, -53.07, 48.98)
CIE-LCHlch(50.98, 72.22, 137.29°)
OKLaboklab(56.01% -0.1439 0.1086)
OKLCHoklch(56.01% 0.18 142.9)
XYZxyz(9.9474, 19.2488, 4.0016)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138D17 #8D1389
analogous
#4C8D13 #138D17 #138D54
triadic
#138D17 #17138D #8D1713
tetradic
#138D17 #134C8D #8D1389 #8D5413
square
#138D17 #134C8D #8D1389 #8D5413
split-complementary
#138D17 #54138D #8D134C
monochromatic
#042105 #0C570E #138D17 #1AC320 #36E43C

Accessibility & contrast

On white

4.33
#138D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#138D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138D17
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138D17#FFFFFF#000000##000000
##138D171.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138d17;
/* rgb */ color: rgb(19, 141, 23);
/* oklch */ color: oklch(56.0% 0.180 142.9);
Tailwind
colors: {
  custom: {
    50: '#6cb060',
    500: '#138d17',
    950: '#000000',
  },
}
SCSS
$custom: #138d17;
$custom-light: #6cb060;
$custom-dark: #000000;
JSON
{
  "hex": "#138d17",
  "rgb": {
    "r": 19,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 121.967,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.18027,
    "h": 142.9
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#138D17
secondary
#C13BBD
accent
#35EDF3
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #138D17

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

Preview Lab → · Contrast checker → · Palette generator →

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