#128F27#128F27

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

Color values

HEX#128F27
RGBrgb(18, 143, 39)
HSLhsl(130, 78%, 32%)
HSVhsv(130, 87%, 56%)
CMYKcmyk(87.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(51.75, -52.57, 44.18)
CIE-LCHlch(51.75, 68.67, 139.96°)
OKLaboklab(56.68% -0.1418 0.1008)
OKLCHoklch(56.68% 0.174 144.6)
XYZxyz(10.4374, 19.9187, 5.2137)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F27 #8F127A
analogous
#3C8F12 #128F27 #128F66
triadic
#128F27 #27128F #8F2712
tetradic
#128F27 #123C8F #8F127A #8F6612
square
#128F27 #123C8F #8F127A #8F6612
split-complementary
#128F27 #66128F #8F123C
monochromatic
#042209 #0B5918 #128F27 #19C536 #36E653

Accessibility & contrast

On white

4.21
#128F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F27#FFFFFF#000000##000000
##128F271.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f27;
/* rgb */ color: rgb(18, 143, 39);
/* oklch */ color: oklch(56.7% 0.174 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cb167',
    500: '#128f27',
    950: '#000000',
  },
}
SCSS
$custom: #128f27;
$custom-light: #6cb167;
$custom-dark: #000000;
JSON
{
  "hex": "#128f27",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 130.08,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.174,
    "h": 144.6
  },
  "luminance": 0.1992
}

Semantic roles & 50–950 ramp

primary
#128F27
secondary
#C33AAC
accent
#34D4F4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #128F27

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

Preview Lab → · Contrast checker → · Palette generator →

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