#128128#128128

#128128 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.157 H 145.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#128128
RGBrgb(18, 129, 40)
HSLhsl(132, 76%, 29%)
HSVhsv(132, 86%, 51%)
CMYKcmyk(86%, 0%, 69%, 49.4%)
CIE-LABlab(46.95, -47.90, 38.65)
CIE-LCHlch(46.95, 61.55, 141.10°)
OKLaboklab(52.69% -0.129 0.0893)
OKLCHoklch(52.69% 0.157 145.3)
XYZxyz(8.4821, 15.9813, 4.6447)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128128 #81126B
analogous
#348112 #128128 #128160
triadic
#128128 #281281 #812812
tetradic
#128128 #123481 #81126B #816012
square
#128128 #123481 #81126B #816012
split-complementary
#128128 #601281 #811234
monochromatic
#041B08 #0B4B17 #128128 #19B739 #2CE250

Accessibility & contrast

On white

5.00
#128128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#128128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128128
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128128#FFFFFF#000000##FFFFFF
##1281281.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128128;
/* rgb */ color: rgb(18, 129, 40);
/* oklch */ color: oklch(52.7% 0.157 145.3);
Tailwind
colors: {
  custom: {
    50: '#68a766',
    500: '#128128',
    950: '#000000',
  },
}
SCSS
$custom: #128128;
$custom-light: #68a766;
$custom-dark: #000000;
JSON
{
  "hex": "#128128",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 131.892,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.15695,
    "h": 145.3
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#128128
secondary
#B7389D
accent
#36CDF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128128

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

Preview Lab → · Contrast checker → · Palette generator →

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