#118E26#118E26

#118E26 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.174 H 144.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#118E26
RGBrgb(17, 142, 38)
HSLhsl(130, 79%, 31%)
HSVhsv(130, 88%, 56%)
CMYKcmyk(88%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.39, -52.44, 44.20)
CIE-LCHlch(51.39, 68.58, 139.87°)
OKLaboklab(56.38% -0.1415 0.1007)
OKLCHoklch(56.38% 0.174 144.6)
XYZxyz(10.2533, 19.6038, 5.0769)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E26 #8E1179
analogous
#3A8E11 #118E26 #118E64
triadic
#118E26 #26118E #8E2611
tetradic
#118E26 #113A8E #8E1179 #8E6411
square
#118E26 #113A8E #8E1179 #8E6411
split-complementary
#118E26 #64118E #8E113A
monochromatic
#042109 #0A5717 #118E26 #18C535 #33E751

Accessibility & contrast

On white

4.27
#118E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#118E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E26
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E26#FFFFFF#000000##000000
##118E261.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918015
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e26;
/* rgb */ color: rgb(17, 142, 38);
/* oklch */ color: oklch(56.4% 0.174 144.6);
Tailwind
colors: {
  custom: {
    50: '#6bb067',
    500: '#118e26',
    950: '#000000',
  },
}
SCSS
$custom: #118e26;
$custom-light: #6bb067;
$custom-dark: #000000;
JSON
{
  "hex": "#118e26",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 130.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56375,
    "c": 0.17368,
    "h": 144.6
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#118E26
secondary
#C238AB
accent
#33D4F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #118E26

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

Preview Lab → · Contrast checker → · Palette generator →

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