#188E31#188E31

#188E31 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.165 H 145.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#188E31
RGBrgb(24, 142, 49)
HSLhsl(133, 71%, 33%)
HSVhsv(133, 83%, 56%)
CMYKcmyk(83.1%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.57, -50.53, 39.71)
CIE-LCHlch(51.57, 64.27, 141.84°)
OKLaboklab(56.58% -0.1361 0.0925)
OKLCHoklch(56.58% 0.165 145.8)
XYZxyz(10.6033, 19.7606, 6.1605)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E31 #8E1875
analogous
#3A8E18 #188E31 #188E6C
triadic
#188E31 #31188E #8E3118
tetradic
#188E31 #183A8E #8E1875 #8E6C18
square
#188E31 #183A8E #8E1875 #8E6C18
split-complementary
#188E31 #6C188E #8E183A
monochromatic
#06250D #0F5A1F #188E31 #21C243 #41DF63

Accessibility & contrast

On white

4.24
#188E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#188E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E31
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E31#FFFFFF#000000##000000
##188E311.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847739
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e31;
/* rgb */ color: rgb(24, 142, 49);
/* oklch */ color: oklch(56.6% 0.165 145.8);
Tailwind
colors: {
  custom: {
    50: '#6cb06d',
    500: '#188e31',
    950: '#000000',
  },
}
SCSS
$custom: #188e31;
$custom-light: #6cb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#188e31",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 132.712,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56579,
    "c": 0.16456,
    "h": 145.8
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

primary
#188E31
secondary
#C042A5
accent
#3AC8EE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #188E31

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

Preview Lab → · Contrast checker → · Palette generator →

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