#118C22#118C22

#118C22 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.174 H 144.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#118C22
RGBrgb(17, 140, 34)
HSLhsl(128, 78%, 31%)
HSVhsv(128, 88%, 55%)
CMYKcmyk(87.9%, 0%, 75.7%, 45.1%)
CIE-LABlab(50.67, -52.16, 45.01)
CIE-LCHlch(50.67, 68.90, 139.21°)
OKLaboklab(55.77% -0.1409 0.1019)
OKLCHoklch(55.77% 0.174 144.1)
XYZxyz(9.8973, 18.9896, 4.6568)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C22 #8C117B
analogous
#3D8C11 #118C22 #118C5F
triadic
#118C22 #22118C #8C2211
tetradic
#118C22 #113D8C #8C117B #8C5F11
square
#118C22 #113D8C #8C117B #8C5F11
split-complementary
#118C22 #5F118C #8C113D
monochromatic
#041F07 #0A5515 #118C22 #18C32F #31E64A

Accessibility & contrast

On white

4.38
#118C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#118C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118C22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118C22#FFFFFF#000000##000000
##118C221.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118c22;
/* rgb */ color: rgb(17, 140, 34);
/* oklch */ color: oklch(55.8% 0.174 144.1);
Tailwind
colors: {
  custom: {
    50: '#6baf64',
    500: '#118c22',
    950: '#000000',
  },
}
SCSS
$custom: #118c22;
$custom-light: #6baf64;
$custom-dark: #000000;
JSON
{
  "hex": "#118c22",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 128.293,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.17388,
    "h": 144.1
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#118C22
secondary
#C138AE
accent
#33DAF5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #118C22

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

Preview Lab → · Contrast checker → · Palette generator →

#118C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva