#118E23#118E23

#118E23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.176 H 144.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#118E23
RGBrgb(17, 142, 35)
HSLhsl(129, 79%, 31%)
HSVhsv(129, 88%, 56%)
CMYKcmyk(88%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.37, -52.71, 45.34)
CIE-LCHlch(51.37, 69.52, 139.30°)
OKLaboklab(56.35% -0.1423 0.1027)
OKLCHoklch(56.35% 0.176 144.2)
XYZxyz(10.2068, 19.5852, 4.8322)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118E23 #8E117C
analogous
#3D8E11 #118E23 #118E61
triadic
#118E23 #23118E #8E2311
tetradic
#118E23 #113D8E #8E117C #8E6111
square
#118E23 #113D8E #8E117C #8E6111
split-complementary
#118E23 #61118E #8E113D
monochromatic
#042108 #0A5716 #118E23 #18C530 #33E74D

Accessibility & contrast

On white

4.27
#118E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#118E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118E23
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118E23#FFFFFF#000000##000000
##118E231.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #118e23;
/* rgb */ color: rgb(17, 142, 35);
/* oklch */ color: oklch(56.4% 0.176 144.2);
Tailwind
colors: {
  custom: {
    50: '#6cb065',
    500: '#118e23',
    950: '#000000',
  },
}
SCSS
$custom: #118e23;
$custom-light: #6cb065;
$custom-dark: #000000;
JSON
{
  "hex": "#118e23",
  "rgb": {
    "r": 17,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 128.64,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.17552,
    "h": 144.2
  },
  "luminance": 0.19587
}

Semantic roles & 50–950 ramp

primary
#118E23
secondary
#C238AF
accent
#33D9F5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #118E23

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

Preview Lab → · Contrast checker → · Palette generator →

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