#128127#128127

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

Color values

HEX#128127
RGBrgb(18, 129, 39)
HSLhsl(131, 76%, 29%)
HSVhsv(131, 86%, 51%)
CMYKcmyk(86%, 0%, 69.8%, 49.4%)
CIE-LABlab(46.94, -48.01, 39.08)
CIE-LCHlch(46.94, 61.90, 140.85°)
OKLaboklab(52.68% -0.1294 0.0901)
OKLCHoklch(52.68% 0.158 145.1)
XYZxyz(8.4653, 15.9745, 4.5563)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128127 #81126C
analogous
#358112 #128127 #12815F
triadic
#128127 #271281 #812712
tetradic
#128127 #123581 #81126C #815F12
square
#128127 #123581 #81126C #815F12
split-complementary
#128127 #5F1281 #811235
monochromatic
#041B08 #0B4B17 #128127 #19B737 #2CE24E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128127#FFFFFF#000000##FFFFFF
##1281271.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128127;
/* rgb */ color: rgb(18, 129, 39);
/* oklch */ color: oklch(52.7% 0.158 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a766',
    500: '#128127',
    950: '#000000',
  },
}
SCSS
$custom: #128127;
$custom-light: #68a766;
$custom-dark: #000000;
JSON
{
  "hex": "#128127",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 131.351,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.15768,
    "h": 145.1
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#128127
secondary
#B7389F
accent
#36CEF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128127

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

Preview Lab → · Contrast checker → · Palette generator →

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