#128048#128048

#128048 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.127 H 154.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#128048
RGBrgb(18, 128, 72)
HSLhsl(149, 75%, 29%)
HSVhsv(149, 86%, 50%)
CMYKcmyk(85.9%, 0%, 43.8%, 49.8%)
CIE-LABlab(47.02, -42.58, 22.37)
CIE-LCHlch(47.02, 48.10, 152.29°)
OKLaboklab(52.88% -0.1145 0.0554)
OKLCHoklch(52.88% 0.127 154.2)
XYZxyz(9.1374, 16.0337, 8.7429)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128048 #80124A
analogous
#138012 #128048 #12807F
triadic
#128048 #481280 #804812
tetradic
#128048 #121380 #80124A #807F12
square
#128048 #121380 #80124A #807F12
split-complementary
#128048 #7F1280 #801213
monochromatic
#041B0F #0A4A2A #128048 #1AB666 #2BE185

Accessibility & contrast

On white

4.99
#128048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#128048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128048
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128048#FFFFFF#000000##FFFFFF
##1280481.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #128048;
/* rgb */ color: rgb(18, 128, 72);
/* oklch */ color: oklch(52.9% 0.127 154.2);
Tailwind
colors: {
  custom: {
    50: '#66a67b',
    500: '#128048',
    950: '#000000',
  },
}
SCSS
$custom: #128048;
$custom-light: #66a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#128048",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 72
  },
  "hsl": {
    "h": 149.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.12717,
    "h": 154.2
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#128048
secondary
#B63878
accent
#3696F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #128048

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

Preview Lab → · Contrast checker → · Palette generator →

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