#118C23#118C23

#118C23 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.173 H 144.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#118C23
RGBrgb(17, 140, 35)
HSLhsl(129, 78%, 31%)
HSVhsv(129, 88%, 55%)
CMYKcmyk(87.9%, 0%, 75%, 45.1%)
CIE-LABlab(50.68, -52.07, 44.64)
CIE-LCHlch(50.68, 68.59, 139.39°)
OKLaboklab(55.78% -0.1406 0.1013)
OKLCHoklch(55.78% 0.173 144.2)
XYZxyz(9.9119, 18.9954, 4.7339)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C23 #8C117A
analogous
#3D8C11 #118C23 #118C60
triadic
#118C23 #23118C #8C2311
tetradic
#118C23 #113D8C #8C117A #8C6011
square
#118C23 #113D8C #8C117A #8C6011
split-complementary
#118C23 #60118C #8C113D
monochromatic
#041F08 #0A5515 #118C23 #18C331 #31E64C

Accessibility & contrast

On white

4.38
#118C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#118C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118C23
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118C23#FFFFFF#000000##000000
##118C231.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #118c23;
/* rgb */ color: rgb(17, 140, 35);
/* oklch */ color: oklch(55.8% 0.173 144.2);
Tailwind
colors: {
  custom: {
    50: '#6baf65',
    500: '#118c23',
    950: '#000000',
  },
}
SCSS
$custom: #118c23;
$custom-light: #6baf65;
$custom-dark: #000000;
JSON
{
  "hex": "#118c23",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 128.78,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55782,
    "c": 0.17328,
    "h": 144.2
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#118C23
secondary
#C138AD
accent
#33D8F5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #118C23

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

Preview Lab → · Contrast checker → · Palette generator →

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