#118118#118118

#118118 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.5% C 0.167 H 143.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#118118
RGBrgb(17, 129, 24)
HSLhsl(124, 77%, 29%)
HSVhsv(124, 87%, 51%)
CMYKcmyk(86.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(46.82, -49.44, 44.75)
CIE-LCHlch(46.82, 66.69, 137.85°)
OKLaboklab(52.55% -0.1339 0.1)
OKLCHoklch(52.55% 0.167 143.3)
XYZxyz(8.2457, 15.8846, 3.4954)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118118 #81117A
analogous
#428111 #118118 #118150
triadic
#118118 #181181 #811811
tetradic
#118118 #114281 #81117A #815011
square
#118118 #114281 #81117A #815011
split-complementary
#118118 #501181 #811142
monochromatic
#041B05 #0A4B0E #118118 #18B722 #2AE335

Accessibility & contrast

On white

5.03
#118118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#118118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #118118
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118118#FFFFFF#000000##FFFFFF
##1181181.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #118118;
/* rgb */ color: rgb(17, 129, 24);
/* oklch */ color: oklch(52.5% 0.167 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a75e',
    500: '#118118',
    950: '#000000',
  },
}
SCSS
$custom: #118118;
$custom-light: #69a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#118118",
  "rgb": {
    "r": 17,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 123.75,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.1671,
    "h": 143.3
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#118118
secondary
#B737AF
accent
#35E7F3
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#071005
muted
#7A7F79

Preview Lab

Preview with #118118

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

Preview Lab → · Contrast checker → · Palette generator →

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