#118E12#118E12

#118E12 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.2% C 0.184 H 142.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#118E12
RGBrgb(17, 142, 18)
HSLhsl(120, 79%, 31%)
HSVhsv(120, 88%, 56%)
CMYKcmyk(88%, 0%, 87.3%, 44.3%)
CIE-LABlab(51.28, -53.84, 50.58)
CIE-LCHlch(51.28, 73.87, 136.79°)
OKLaboklab(56.25% -0.1461 0.1113)
OKLCHoklch(56.25% 0.184 142.7)
XYZxyz(10.0127, 19.5076, 3.8098)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E12 #8E118D
analogous
#4E8E11 #118E12 #118E50
triadic
#118E12 #12118E #8E1211
tetradic
#118E12 #114E8E #8E118D #8E5011
square
#118E12 #114E8E #8E118D #8E5011
split-complementary
#118E12 #50118E #8E114E
monochromatic
#042104 #0A570B #118E12 #18C519 #33E734

Accessibility & contrast

On white

4.28
#118E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#118E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E12
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E12#FFFFFF#000000##000000
##118E121.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#008A78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e12;
/* rgb */ color: rgb(17, 142, 18);
/* oklch */ color: oklch(56.2% 0.184 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cb05e',
    500: '#118e12',
    950: '#000000',
  },
}
SCSS
$custom: #118e12;
$custom-light: #6cb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#118e12",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 120.48,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.18366,
    "h": 142.7
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#118E12
secondary
#C238C1
accent
#33F4F5
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#081105
muted
#7B8079

Preview Lab

Preview with #118E12

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

Preview Lab → · Contrast checker → · Palette generator →

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