#128122#128122

#128122 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.161 H 144.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#128122
RGBrgb(18, 129, 34)
HSLhsl(129, 76%, 29%)
HSVhsv(129, 86%, 51%)
CMYKcmyk(86%, 0%, 73.6%, 49.4%)
CIE-LABlab(46.90, -48.51, 41.15)
CIE-LCHlch(46.90, 63.62, 139.69°)
OKLaboklab(52.64% -0.131 0.0938)
OKLCHoklch(52.64% 0.161 144.4)
XYZxyz(8.3879, 15.9436, 4.1484)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128122 #811271
analogous
#3A8112 #128122 #12815A
triadic
#128122 #221281 #812212
tetradic
#128122 #123A81 #811271 #815A12
square
#128122 #123A81 #811271 #815A12
split-complementary
#128122 #5A1281 #81123A
monochromatic
#041B07 #0B4B14 #128122 #19B730 #2CE246

Accessibility & contrast

On white

5.01
#128122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#128122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128122
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128122#FFFFFF#000000##FFFFFF
##1281221.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837412
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128122;
/* rgb */ color: rgb(18, 129, 34);
/* oklch */ color: oklch(52.6% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a763',
    500: '#128122',
    950: '#000000',
  },
}
SCSS
$custom: #128122;
$custom-light: #68a763;
$custom-dark: #000000;
JSON
{
  "hex": "#128122",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 128.649,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52635,
    "c": 0.16112,
    "h": 144.4
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#128122
secondary
#B738A4
accent
#36D7F2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #128122

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

Preview Lab → · Contrast checker → · Palette generator →

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