#128F16#128F16

#128F16 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.183 H 142.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#128F16
RGBrgb(18, 143, 22)
HSLhsl(122, 78%, 32%)
HSVhsv(122, 87%, 56%)
CMYKcmyk(87.4%, 0%, 84.6%, 43.9%)
CIE-LABlab(51.64, -53.84, 49.88)
CIE-LCHlch(51.64, 73.39, 137.19°)
OKLaboklab(56.56% -0.146 0.1104)
OKLCHoklch(56.56% 0.183 142.9)
XYZxyz(10.2161, 19.8302, 4.0481)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F16 #8F128B
analogous
#4D8F12 #128F16 #128F55
triadic
#128F16 #16128F #8F1612
tetradic
#128F16 #124D8F #8F128B #8F5512
square
#128F16 #124D8F #8F128B #8F5512
split-complementary
#128F16 #55128F #8F124D
monochromatic
#042205 #0B590E #128F16 #19C51E #36E63B

Accessibility & contrast

On white

4.23
#128F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#128F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F16
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F16#FFFFFF#000000##000000
##128F161.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f16;
/* rgb */ color: rgb(18, 143, 22);
/* oklch */ color: oklch(56.6% 0.183 142.9);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#128f16',
    950: '#000000',
  },
}
SCSS
$custom: #128f16;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#128f16",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 121.92,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.18301,
    "h": 142.9
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#128F16
secondary
#C33ABF
accent
#34EEF4
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#081105
muted
#7B8079

Preview Lab

Preview with #128F16

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

Preview Lab → · Contrast checker → · Palette generator →

#128F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva