#128027#128027

#128027 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.156 H 145.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#128027
RGBrgb(18, 128, 39)
HSLhsl(131, 75%, 29%)
HSVhsv(131, 86%, 50%)
CMYKcmyk(85.9%, 0%, 69.5%, 49.8%)
CIE-LABlab(46.59, -47.67, 38.71)
CIE-LCHlch(46.59, 61.41, 140.92°)
OKLaboklab(52.39% -0.1285 0.0893)
OKLCHoklch(52.39% 0.156 145.2)
XYZxyz(8.3342, 15.7124, 4.5126)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128027 #80126B
analogous
#348012 #128027 #12805E
triadic
#128027 #271280 #802712
tetradic
#128027 #123480 #80126B #805E12
square
#128027 #123480 #80126B #805E12
split-complementary
#128027 #5E1280 #801234
monochromatic
#041B08 #0A4A17 #128027 #1AB637 #2BE14E

Accessibility & contrast

On white

5.07
#128027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#128027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128027
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128027#FFFFFF#000000##FFFFFF
##1280271.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128027;
/* rgb */ color: rgb(18, 128, 39);
/* oklch */ color: oklch(52.4% 0.156 145.2);
Tailwind
colors: {
  custom: {
    50: '#68a666',
    500: '#128027',
    950: '#000000',
  },
}
SCSS
$custom: #128027;
$custom-light: #68a666;
$custom-dark: #000000;
JSON
{
  "hex": "#128027",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 131.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.15648,
    "h": 145.2
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #128027

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

Preview Lab → · Contrast checker → · Palette generator →

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