#118128#118128

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

Color values

HEX#118128
RGBrgb(17, 129, 40)
HSLhsl(132, 77%, 29%)
HSVhsv(132, 87%, 51%)
CMYKcmyk(86.8%, 0%, 69%, 49.4%)
CIE-LABlab(46.94, -48.00, 38.64)
CIE-LCHlch(46.94, 61.62, 141.17°)
OKLaboklab(52.68% -0.1293 0.0893)
OKLCHoklch(52.68% 0.157 145.4)
XYZxyz(8.4638, 15.9718, 4.6439)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118128 #81116A
analogous
#328111 #118128 #118160
triadic
#118128 #281181 #812811
tetradic
#118128 #113281 #81116A #816011
square
#118128 #113281 #81116A #816011
split-complementary
#118128 #601181 #811132
monochromatic
#041B08 #0A4B17 #118128 #18B739 #2AE350

Accessibility & contrast

On white

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

On black

4.19
#118128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##118128#FFFFFF#000000##FFFFFF
##1181281.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #118128;
/* rgb */ color: rgb(17, 129, 40);
/* oklch */ color: oklch(52.7% 0.157 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a766',
    500: '#118128',
    950: '#000000',
  },
}
SCSS
$custom: #118128;
$custom-light: #68a766;
$custom-dark: #000000;
JSON
{
  "hex": "#118128",
  "rgb": {
    "r": 17,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 132.321,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.15714,
    "h": 145.4
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#118128
secondary
#B7379D
accent
#35CCF3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #118128

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

Preview Lab → · Contrast checker → · Palette generator →

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