#118E2D#118E2D

#118E2D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.169 H 145.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#118E2D
RGBrgb(17, 142, 45)
HSLhsl(133, 79%, 31%)
HSVhsv(133, 88%, 56%)
CMYKcmyk(88%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.44, -51.73, 41.34)
CIE-LCHlch(51.44, 66.22, 141.37°)
OKLaboklab(56.44% -0.1393 0.0956)
OKLCHoklch(56.44% 0.169 145.5)
XYZxyz(10.3770, 19.6533, 5.7287)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E2D #8E1172
analogous
#338E11 #118E2D #118E6B
triadic
#118E2D #2D118E #8E2D11
tetradic
#118E2D #11338E #8E1172 #8E6B11
square
#118E2D #11338E #8E1172 #8E6B11
split-complementary
#118E2D #6B118E #8E1133
monochromatic
#04210A #0A571C #118E2D #18C53E #33E75B

Accessibility & contrast

On white

4.26
#118E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#118E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E2D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E2D#FFFFFF#000000##000000
##118E2D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908020
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118e2d;
/* rgb */ color: rgb(17, 142, 45);
/* oklch */ color: oklch(56.4% 0.169 145.5);
Tailwind
colors: {
  custom: {
    50: '#6bb06b',
    500: '#118e2d',
    950: '#000000',
  },
}
SCSS
$custom: #118e2d;
$custom-light: #6bb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#118e2d",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 133.44,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.1689,
    "h": 145.5
  },
  "luminance": 0.19655
}

Semantic roles & 50–950 ramp

primary
#118E2D
secondary
#C238A3
accent
#33CAF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #118E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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