#128F22#128F22

#128F22 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.177 H 144.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#128F22
RGBrgb(18, 143, 34)
HSLhsl(128, 78%, 32%)
HSVhsv(128, 87%, 56%)
CMYKcmyk(87.4%, 0%, 76.2%, 43.9%)
CIE-LABlab(51.71, -53.01, 46.06)
CIE-LCHlch(51.71, 70.23, 139.01°)
OKLaboklab(56.64% -0.1432 0.1041)
OKLCHoklch(56.64% 0.177 144)
XYZxyz(10.3599, 19.8877, 4.8058)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F22 #8F127F
analogous
#418F12 #128F22 #128F61
triadic
#128F22 #22128F #8F2212
tetradic
#128F22 #12418F #8F127F #8F6112
square
#128F22 #12418F #8F127F #8F6112
split-complementary
#128F22 #61128F #8F1241
monochromatic
#042208 #0B5915 #128F22 #19C52F #36E64C

Accessibility & contrast

On white

4.22
#128F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#128F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F22
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F22#FFFFFF#000000##000000
##128F221.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f22;
/* rgb */ color: rgb(18, 143, 34);
/* oklch */ color: oklch(56.6% 0.177 144.0);
Tailwind
colors: {
  custom: {
    50: '#6cb165',
    500: '#128f22',
    950: '#000000',
  },
}
SCSS
$custom: #128f22;
$custom-light: #6cb165;
$custom-dark: #000000;
JSON
{
  "hex": "#128f22",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 127.68,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.17706,
    "h": 144
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#128F22
secondary
#C33AB2
accent
#34DCF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F22

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

Preview Lab → · Contrast checker → · Palette generator →

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