#128116#128116

#128116 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.5% C 0.168 H 143.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#128116
RGBrgb(18, 129, 22)
HSLhsl(122, 76%, 29%)
HSVhsv(122, 86%, 51%)
CMYKcmyk(86%, 0%, 82.9%, 49.4%)
CIE-LABlab(46.82, -49.47, 45.40)
CIE-LCHlch(46.82, 67.14, 137.46°)
OKLaboklab(52.55% -0.1341 0.101)
OKLCHoklch(52.55% 0.168 143)
XYZxyz(8.2440, 15.8860, 3.3907)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128116 #81127D
analogous
#468112 #128116 #12814E
triadic
#128116 #161281 #811612
tetradic
#128116 #124681 #81127D #814E12
square
#128116 #124681 #81127D #814E12
split-complementary
#128116 #4E1281 #811246
monochromatic
#041B05 #0B4B0D #128116 #19B71F #2CE232

Accessibility & contrast

On white

5.03
#128116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#128116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128116
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128116#FFFFFF#000000##FFFFFF
##1281161.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128116;
/* rgb */ color: rgb(18, 129, 22);
/* oklch */ color: oklch(52.5% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#69a75d',
    500: '#128116',
    950: '#000000',
  },
}
SCSS
$custom: #128116;
$custom-light: #69a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#128116",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 122.162,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.16789,
    "h": 143
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#128116
secondary
#B738B2
accent
#36EBF2
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081005
muted
#7A7F79

Preview Lab

Preview with #128116

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

Preview Lab → · Contrast checker → · Palette generator →

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