#118E1B#118E1B

#118E1B is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.180 H 143.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#118E1B
RGBrgb(17, 142, 27)
HSLhsl(125, 79%, 31%)
HSVhsv(125, 88%, 56%)
CMYKcmyk(88%, 0%, 81%, 44.3%)
CIE-LABlab(51.32, -53.32, 48.08)
CIE-LCHlch(51.32, 71.80, 137.96°)
OKLaboklab(56.29% -0.1443 0.1073)
OKLCHoklch(56.29% 0.18 143.4)
XYZxyz(10.1013, 19.5430, 4.2765)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E1B #8E1184
analogous
#458E11 #118E1B #118E59
triadic
#118E1B #1B118E #8E1B11
tetradic
#118E1B #11458E #8E1184 #8E5911
square
#118E1B #11458E #8E1184 #8E5911
split-complementary
#118E1B #59118E #8E1145
monochromatic
#042106 #0A5711 #118E1B #18C525 #33E741

Accessibility & contrast

On white

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

On black

4.91
#118E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E1B#FFFFFF#000000##000000
##118E1B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e1b;
/* rgb */ color: rgb(17, 142, 27);
/* oklch */ color: oklch(56.3% 0.180 143.4);
Tailwind
colors: {
  custom: {
    50: '#6cb061',
    500: '#118e1b',
    950: '#000000',
  },
}
SCSS
$custom: #118e1b;
$custom-light: #6cb061;
$custom-dark: #000000;
JSON
{
  "hex": "#118e1b",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 124.8,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.17987,
    "h": 143.4
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#118E1B
secondary
#C238B7
accent
#33E6F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #118E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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