#138C17#138C17

#138C17 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.7% C 0.179 H 143.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#138C17
RGBrgb(19, 140, 23)
HSLhsl(122, 76%, 31%)
HSVhsv(122, 86%, 55%)
CMYKcmyk(86.4%, 0%, 83.6%, 45.1%)
CIE-LABlab(50.63, -52.75, 48.67)
CIE-LCHlch(50.63, 71.77, 137.31°)
OKLaboklab(55.73% -0.143 0.108)
OKLCHoklch(55.73% 0.179 143)
XYZxyz(9.8007, 18.9552, 3.9526)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C17 #8C1388
analogous
#4B8C13 #138C17 #138C53
triadic
#138C17 #17138C #8C1713
tetradic
#138C17 #134B8C #8C1388 #8C5313
square
#138C17 #134B8C #8C1388 #8C5313
split-complementary
#138C17 #53138C #8C134B
monochromatic
#042005 #0C560E #138C17 #1AC220 #36E43B

Accessibility & contrast

On white

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

On black

4.79
#138C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138C17
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138C17#FFFFFF#000000##000000
##138C171.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c17;
/* rgb */ color: rgb(19, 140, 23);
/* oklch */ color: oklch(55.7% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#6caf5f',
    500: '#138c17',
    950: '#000000',
  },
}
SCSS
$custom: #138c17;
$custom-light: #6caf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#138c17",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 121.983,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.17921,
    "h": 143
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#138C17
secondary
#C03BBC
accent
#35ECF3
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #138C17

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

Preview Lab → · Contrast checker → · Palette generator →

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