#188F31#188F31

#188F31 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.166 H 145.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#188F31
RGBrgb(24, 143, 49)
HSLhsl(133, 71%, 33%)
HSVhsv(133, 83%, 56%)
CMYKcmyk(83.2%, 0%, 65.7%, 43.9%)
CIE-LABlab(51.90, -50.87, 40.09)
CIE-LCHlch(51.90, 64.77, 141.76°)
OKLaboklab(56.86% -0.137 0.0933)
OKLCHoklch(56.86% 0.166 145.7)
XYZxyz(10.7527, 20.0595, 6.2103)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F31 #8F1876
analogous
#3B8F18 #188F31 #188F6C
triadic
#188F31 #31188F #8F3118
tetradic
#188F31 #183B8F #8F1876 #8F6C18
square
#188F31 #183B8F #8F1876 #8F6C18
split-complementary
#188F31 #6C188F #8F183B
monochromatic
#06260D #0F5B1F #188F31 #21C343 #42DF63

Accessibility & contrast

On white

4.19
#188F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#188F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F31
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F31#FFFFFF#000000##000000
##188F311.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f31;
/* rgb */ color: rgb(24, 143, 49);
/* oklch */ color: oklch(56.9% 0.166 145.7);
Tailwind
colors: {
  custom: {
    50: '#6db16d',
    500: '#188f31',
    950: '#000000',
  },
}
SCSS
$custom: #188f31;
$custom-light: #6db16d;
$custom-dark: #000000;
JSON
{
  "hex": "#188f31",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 132.605,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.16577,
    "h": 145.7
  },
  "luminance": 0.20061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188F31

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

Preview Lab → · Contrast checker → · Palette generator →

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