#188E18#188E18

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

Color values

HEX#188E18
RGBrgb(24, 142, 24)
HSLhsl(120, 71%, 33%)
HSVhsv(120, 83%, 56%)
CMYKcmyk(83.1%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.39, -52.75, 49.10)
CIE-LCHlch(51.39, 72.06, 137.05°)
OKLaboklab(56.37% -0.1432 0.109)
OKLCHoklch(56.37% 0.18 142.7)
XYZxyz(10.2139, 19.6049, 4.1098)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E18 #8E188E
analogous
#538E18 #188E18 #188E53
triadic
#188E18 #18188E #8E1818
tetradic
#188E18 #18538E #8E188E #8E5318
square
#188E18 #18538E #8E188E #8E5318
split-complementary
#188E18 #53188E #8E1853
monochromatic
#062506 #0F5A0F #188E18 #21C221 #41DF41

Accessibility & contrast

On white

4.27
#188E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#188E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E18
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E18#FFFFFF#000000##000000
##188E181.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)
#918000
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188e18;
/* rgb */ color: rgb(24, 142, 24);
/* oklch */ color: oklch(56.4% 0.180 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eb060',
    500: '#188e18',
    950: '#000000',
  },
}
SCSS
$custom: #188e18;
$custom-light: #6eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#188e18",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.17993,
    "h": 142.7
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#188E18
secondary
#C042C0
accent
#3AEEEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #188E18

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

Preview Lab → · Contrast checker → · Palette generator →

#188E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva