#118F2C#118F2C

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

Color values

HEX#118F2C
RGBrgb(17, 143, 44)
HSLhsl(133, 79%, 31%)
HSVhsv(133, 88%, 56%)
CMYKcmyk(88.1%, 0%, 69.2%, 43.9%)
CIE-LABlab(51.77, -52.16, 42.13)
CIE-LCHlch(51.77, 67.05, 141.07°)
OKLaboklab(56.71% -0.1405 0.0971)
OKLCHoklch(56.71% 0.171 145.3)
XYZxyz(10.5075, 19.9446, 5.6783)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118F2C #8F1174
analogous
#358F11 #118F2C #118F6B
triadic
#118F2C #2C118F #8F2C11
tetradic
#118F2C #11358F #8F1174 #8F6B11
square
#118F2C #11358F #8F1174 #8F6B11
split-complementary
#118F2C #6B118F #8F1135
monochromatic
#04220A #0A581B #118F2C #18C63D #34E75A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##118F2C#FFFFFF#000000##000000
##118F2C1.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)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118f2c;
/* rgb */ color: rgb(17, 143, 44);
/* oklch */ color: oklch(56.7% 0.171 145.3);
Tailwind
colors: {
  custom: {
    50: '#6bb16a',
    500: '#118f2c',
    950: '#000000',
  },
}
SCSS
$custom: #118f2c;
$custom-light: #6bb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#118f2c",
  "rgb": {
    "r": 17,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 132.857,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.17078,
    "h": 145.3
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#118F2C
secondary
#C338A6
accent
#33CCF5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #118F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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