#118012#118012

#118012 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.2% C 0.169 H 142.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#118012
RGBrgb(17, 128, 18)
HSLhsl(121, 77%, 28%)
HSVhsv(121, 87%, 50%)
CMYKcmyk(86.7%, 0%, 85.9%, 49.8%)
CIE-LABlab(46.45, -49.50, 46.21)
CIE-LCHlch(46.45, 67.72, 136.97°)
OKLaboklab(52.22% -0.1343 0.1022)
OKLCHoklch(52.22% 0.169 142.7)
XYZxyz(8.0590, 15.6002, 3.1585)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118012 #80117F
analogous
#478011 #118012 #118049
triadic
#118012 #121180 #801211
tetradic
#118012 #114780 #80117F #804911
square
#118012 #114780 #80117F #804911
split-complementary
#118012 #491180 #801147
monochromatic
#041B04 #0A4A0A #118012 #18B61A #29E32B

Accessibility & contrast

On white

5.10
#118012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#118012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118012
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118012#FFFFFF#000000##FFFFFF
##1180121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#007C6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #118012;
/* rgb */ color: rgb(17, 128, 18);
/* oklch */ color: oklch(52.2% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a65c',
    500: '#118012',
    950: '#000000',
  },
}
SCSS
$custom: #118012;
$custom-light: #69a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#118012",
  "rgb": {
    "r": 17,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 120.541,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.16874,
    "h": 142.7
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#118012
secondary
#B637B5
accent
#35F1F3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #118012

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

Preview Lab → · Contrast checker → · Palette generator →

#118012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva