#118F2B#118F2B

#118F2B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.171 H 145.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#118F2B
RGBrgb(17, 143, 43)
HSLhsl(132, 79%, 31%)
HSVhsv(132, 88%, 56%)
CMYKcmyk(88.1%, 0%, 69.9%, 43.9%)
CIE-LABlab(51.77, -52.27, 42.55)
CIE-LCHlch(51.77, 67.40, 140.85°)
OKLaboklab(56.7% -0.1408 0.0979)
OKLCHoklch(56.7% 0.171 145.2)
XYZxyz(10.4889, 19.9372, 5.5805)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118F2B #8F1175
analogous
#368F11 #118F2B #118F6A
triadic
#118F2B #2B118F #8F2B11
tetradic
#118F2B #11368F #8F1175 #8F6A11
square
#118F2B #11368F #8F1175 #8F6A11
split-complementary
#118F2B #6A118F #8F1136
monochromatic
#04220A #0A581B #118F2B #18C63B #34E759

Accessibility & contrast

On white

4.21
#118F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#118F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118F2B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118F2B#FFFFFF#000000##000000
##118F2B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118f2b;
/* rgb */ color: rgb(17, 143, 43);
/* oklch */ color: oklch(56.7% 0.171 145.2);
Tailwind
colors: {
  custom: {
    50: '#6bb16a',
    500: '#118f2b',
    950: '#000000',
  },
}
SCSS
$custom: #118f2b;
$custom-light: #6bb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#118f2b",
  "rgb": {
    "r": 17,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 132.381,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.17148,
    "h": 145.2
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#118F2B
secondary
#C338A7
accent
#33CDF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #118F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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