#188B31#188B31

#188B31 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.161 H 145.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#188B31
RGBrgb(24, 139, 49)
HSLhsl(133, 71%, 32%)
HSVhsv(133, 83%, 55%)
CMYKcmyk(82.7%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.55, -49.52, 38.57)
CIE-LCHlch(50.55, 62.77, 142.09°)
OKLaboklab(55.73% -0.1333 0.0901)
OKLCHoklch(55.73% 0.161 145.9)
XYZxyz(10.1629, 18.8799, 6.0137)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B31 #8B1872
analogous
#398B18 #188B31 #188B6A
triadic
#188B31 #31188B #8B3118
tetradic
#188B31 #18398B #8B1872 #8B6A18
square
#188B31 #18398B #8B1872 #8B6A18
split-complementary
#188B31 #6A188B #8B1839
monochromatic
#06230C #0F571F #188B31 #21BF43 #3FDE62

Accessibility & contrast

On white

4.40
#188B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#188B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B31
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B31#FFFFFF#000000##000000
##188B311.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E27
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b31;
/* rgb */ color: rgb(24, 139, 49);
/* oklch */ color: oklch(55.7% 0.161 145.9);
Tailwind
colors: {
  custom: {
    50: '#6cae6d',
    500: '#188b31',
    950: '#000000',
  },
}
SCSS
$custom: #188b31;
$custom-light: #6cae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#188b31",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 133.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.16091,
    "h": 145.9
  },
  "luminance": 0.18881
}

Semantic roles & 50–950 ramp

primary
#188B31
secondary
#BE40A3
accent
#3AC6ED
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B31

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

Preview Lab → · Contrast checker → · Palette generator →

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