#138C1C#138C1C

#138C1C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.177 H 143.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#138C1C
RGBrgb(19, 140, 28)
HSLhsl(124, 76%, 31%)
HSVhsv(124, 86%, 55%)
CMYKcmyk(86.4%, 0%, 80%, 45.1%)
CIE-LABlab(50.66, -52.43, 47.13)
CIE-LCHlch(50.66, 70.50, 138.05°)
OKLaboklab(55.76% -0.1419 0.1055)
OKLCHoklch(55.76% 0.177 143.4)
XYZxyz(9.8556, 18.9772, 4.2419)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C1C #8C1383
analogous
#468C13 #138C1C #138C58
triadic
#138C1C #1C138C #8C1C13
tetradic
#138C1C #13468C #8C1383 #8C5813
square
#138C1C #13468C #8C1383 #8C5813
split-complementary
#138C1C #58138C #8C1346
monochromatic
#042006 #0C5611 #138C1C #1AC227 #36E443

Accessibility & contrast

On white

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

On black

4.80
#138C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #138C1C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138C1C#FFFFFF#000000##000000
##138C1C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #138c1c;
/* rgb */ color: rgb(19, 140, 28);
/* oklch */ color: oklch(55.8% 0.177 143.4);
Tailwind
colors: {
  custom: {
    50: '#6caf62',
    500: '#138c1c',
    950: '#000000',
  },
}
SCSS
$custom: #138c1c;
$custom-light: #6caf62;
$custom-dark: #000000;
JSON
{
  "hex": "#138c1c",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 124.463,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.17684,
    "h": 143.4
  },
  "luminance": 0.18978
}

Semantic roles & 50–950 ramp

primary
#138C1C
secondary
#C03BB6
accent
#35E5F3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #138C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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