#188E40#188E40

#188E40 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.152 H 148.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#188E40
RGBrgb(24, 142, 64)
HSLhsl(140, 71%, 33%)
HSVhsv(140, 83%, 56%)
CMYKcmyk(83.1%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.73, -48.49, 32.62)
CIE-LCHlch(51.73, 58.44, 146.07°)
OKLaboklab(56.77% -0.1301 0.0784)
OKLCHoklch(56.77% 0.152 148.9)
XYZxyz(10.9742, 19.9090, 8.1139)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E40 #8E1866
analogous
#2B8E18 #188E40 #188E7B
triadic
#188E40 #40188E #8E4018
tetradic
#188E40 #182B8E #8E1866 #8E7B18
square
#188E40 #182B8E #8E1866 #8E7B18
split-complementary
#188E40 #7B188E #8E182B
monochromatic
#062511 #0F5A28 #188E40 #21C258 #41DF77

Accessibility & contrast

On white

4.22
#188E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#188E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E40
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E40#FFFFFF#000000##000000
##188E401.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#827846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e40;
/* rgb */ color: rgb(24, 142, 64);
/* oklch */ color: oklch(56.8% 0.152 148.9);
Tailwind
colors: {
  custom: {
    50: '#6cb077',
    500: '#188e40',
    950: '#000000',
  },
}
SCSS
$custom: #188e40;
$custom-light: #6cb077;
$custom-dark: #000000;
JSON
{
  "hex": "#188e40",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 140.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.15193,
    "h": 148.9
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#188E40
secondary
#C04295
accent
#3AB1EE
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #188E40

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

Preview Lab → · Contrast checker → · Palette generator →

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