#138C1A#138C1A

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

Color values

HEX#138C1A
RGBrgb(19, 140, 26)
HSLhsl(123, 76%, 31%)
HSVhsv(123, 86%, 55%)
CMYKcmyk(86.4%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.65, -52.57, 47.77)
CIE-LCHlch(50.65, 71.03, 137.74°)
OKLaboklab(55.74% -0.1424 0.1065)
OKLCHoklch(55.74% 0.178 143.2)
XYZxyz(9.8324, 18.9680, 4.1201)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138C1A #8C1385
analogous
#488C13 #138C1A #138C56
triadic
#138C1A #1A138C #8C1A13
tetradic
#138C1A #13488C #8C1385 #8C5613
square
#138C1A #13488C #8C1385 #8C5613
split-complementary
#138C1A #56138C #8C1348
monochromatic
#042006 #0C5610 #138C1A #1AC224 #36E440

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##138C1A#FFFFFF#000000##000000
##138C1A1.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)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #138c1a;
/* rgb */ color: rgb(19, 140, 26);
/* oklch */ color: oklch(55.7% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#6caf61',
    500: '#138c1a',
    950: '#000000',
  },
}
SCSS
$custom: #138c1a;
$custom-light: #6caf61;
$custom-dark: #000000;
JSON
{
  "hex": "#138c1a",
  "rgb": {
    "r": 19,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 123.471,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.17783,
    "h": 143.2
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#138C1A
secondary
#C03BB8
accent
#35E8F3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #138C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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