#128028#128028

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

Color values

HEX#128028
RGBrgb(18, 128, 40)
HSLhsl(132, 75%, 29%)
HSVhsv(132, 86%, 50%)
CMYKcmyk(85.9%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.60, -47.56, 38.28)
CIE-LCHlch(46.60, 61.05, 141.17°)
OKLaboklab(52.4% -0.1281 0.0885)
OKLCHoklch(52.4% 0.156 145.4)
XYZxyz(8.3510, 15.7191, 4.6010)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128028 #80126A
analogous
#338012 #128028 #12805F
triadic
#128028 #281280 #802812
tetradic
#128028 #123380 #80126A #805F12
square
#128028 #123380 #80126A #805F12
split-complementary
#128028 #5F1280 #801233
monochromatic
#041B08 #0A4A17 #128028 #1AB639 #2BE150

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128028#FFFFFF#000000##FFFFFF
##1280281.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)
#82731C
Deuteranopia (green-blind)
#776B30
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128028;
/* rgb */ color: rgb(18, 128, 40);
/* oklch */ color: oklch(52.4% 0.156 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a666',
    500: '#128028',
    950: '#000000',
  },
}
SCSS
$custom: #128028;
$custom-light: #68a666;
$custom-dark: #000000;
JSON
{
  "hex": "#128028",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 132,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.15574,
    "h": 145.4
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#128028
secondary
#B6389D
accent
#36CCF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #128028

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

Preview Lab → · Contrast checker → · Palette generator →

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