#188D2C#188D2C

#188D2C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.167 H 145.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#188D2C
RGBrgb(24, 141, 44)
HSLhsl(130, 71%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(83%, 0%, 68.8%, 44.7%)
CIE-LABlab(51.18, -50.76, 41.51)
CIE-LCHlch(51.18, 65.58, 140.72°)
OKLaboklab(56.24% -0.1369 0.0958)
OKLCHoklch(56.24% 0.167 145)
XYZxyz(10.3554, 19.4245, 5.5859)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D2C #8D1879
analogous
#3F8D18 #188D2C #188D66
triadic
#188D2C #2C188D #8D2C18
tetradic
#188D2C #183F8D #8D1879 #8D6618
square
#188D2C #183F8D #8D1879 #8D6618
split-complementary
#188D2C #66188D #8D183F
monochromatic
#06240B #0F591C #188D2C #21C13C #41DF5C

Accessibility & contrast

On white

4.30
#188D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#188D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D2C
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D2C#FFFFFF#000000##000000
##188D2C1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d2c;
/* rgb */ color: rgb(24, 141, 44);
/* oklch */ color: oklch(56.2% 0.167 145.0);
Tailwind
colors: {
  custom: {
    50: '#6caf6a',
    500: '#188d2c',
    950: '#000000',
  },
}
SCSS
$custom: #188d2c;
$custom-light: #6caf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188d2c",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 130.256,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.16709,
    "h": 145
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#188D2C
secondary
#BF42AA
accent
#3ACFEE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081107
muted
#7B807A

Preview Lab

Preview with #188D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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