#188B2C#188B2C

#188B2C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.165 H 145.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#188B2C
RGBrgb(24, 139, 44)
HSLhsl(130, 71%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(82.7%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.50, -50.10, 40.77)
CIE-LCHlch(50.50, 64.59, 140.86°)
OKLaboklab(55.68% -0.1351 0.0942)
OKLCHoklch(55.68% 0.165 145.1)
XYZxyz(10.0632, 18.8400, 5.4885)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B2C #8B1877
analogous
#3E8B18 #188B2C #188B66
triadic
#188B2C #2C188B #8B2C18
tetradic
#188B2C #183E8B #8B1877 #8B6618
square
#188B2C #183E8B #8B1877 #8B6618
split-complementary
#188B2C #66188B #8B183E
monochromatic
#06230B #0F571B #188B2C #21BF3D #3FDE5B

Accessibility & contrast

On white

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

On black

4.77
#188B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B2C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B2C#FFFFFF#000000##000000
##188B2C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188b2c;
/* rgb */ color: rgb(24, 139, 44);
/* oklch */ color: oklch(55.7% 0.165 145.1);
Tailwind
colors: {
  custom: {
    50: '#6cae6a',
    500: '#188b2c',
    950: '#000000',
  },
}
SCSS
$custom: #188b2c;
$custom-light: #6cae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188b2c",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 130.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.16471,
    "h": 145.1
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#188B2C
secondary
#BE40A8
accent
#3ACEED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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