#138012#138012

#138012 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.168 H 142.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#138012
RGBrgb(19, 128, 18)
HSLhsl(119, 75%, 29%)
HSVhsv(119, 86%, 50%)
CMYKcmyk(85.2%, 0%, 85.9%, 49.8%)
CIE-LABlab(46.47, -49.27, 46.25)
CIE-LCHlch(46.47, 67.58, 136.82°)
OKLaboklab(52.25% -0.1338 0.1022)
OKLCHoklch(52.25% 0.168 142.6)
XYZxyz(8.0964, 15.6195, 3.1603)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#138012 #7F1280
analogous
#4A8012 #138012 #128048
triadic
#138012 #121380 #801213
tetradic
#138012 #124A80 #7F1280 #804812
square
#138012 #124A80 #7F1280 #804812
split-complementary
#138012 #481280 #80124A
monochromatic
#041B04 #0B4A0A #138012 #1BB61A #2DE12B

Accessibility & contrast

On white

5.09
#138012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#138012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #138012
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##138012#FFFFFF#000000##FFFFFF
##1380121.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #138012;
/* rgb */ color: rgb(19, 128, 18);
/* oklch */ color: oklch(52.3% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#69a65c',
    500: '#138012',
    950: '#000000',
  },
}
SCSS
$custom: #138012;
$custom-light: #69a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#138012",
  "rgb": {
    "r": 19,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 119.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.16835,
    "h": 142.6
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#138012
secondary
#B438B6
accent
#36F2F0
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #138012

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

Preview Lab → · Contrast checker → · Palette generator →

#138012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva