#188F40#188F40

#188F40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.153 H 148.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#188F40
RGBrgb(24, 143, 64)
HSLhsl(140, 71%, 33%)
HSVhsv(140, 83%, 56%)
CMYKcmyk(83.2%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.07, -48.84, 33.03)
CIE-LCHlch(52.07, 58.96, 145.93°)
OKLaboklab(57.05% -0.1311 0.0793)
OKLCHoklch(57.05% 0.153 148.8)
XYZxyz(11.1236, 20.2079, 8.1638)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F40 #8F1867
analogous
#2C8F18 #188F40 #188F7B
triadic
#188F40 #40188F #8F4018
tetradic
#188F40 #182C8F #8F1867 #8F7B18
square
#188F40 #182C8F #8F1867 #8F7B18
split-complementary
#188F40 #7B188F #8F182C
monochromatic
#062611 #0F5B29 #188F40 #21C357 #42DF77

Accessibility & contrast

On white

4.17
#188F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#188F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F40
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F40#FFFFFF#000000##000000
##188F401.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f40;
/* rgb */ color: rgb(24, 143, 64);
/* oklch */ color: oklch(57.1% 0.153 148.8);
Tailwind
colors: {
  custom: {
    50: '#6cb177',
    500: '#188f40',
    950: '#000000',
  },
}
SCSS
$custom: #188f40;
$custom-light: #6cb177;
$custom-dark: #000000;
JSON
{
  "hex": "#188f40",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 140.168,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.15322,
    "h": 148.8
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188F40

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

Preview Lab → · Contrast checker → · Palette generator →

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