#188C2C#188C2C

#188C2C is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 145.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#188C2C
RGBrgb(24, 140, 44)
HSLhsl(130, 71%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(82.9%, 0%, 68.6%, 45.1%)
CIE-LABlab(50.84, -50.43, 41.14)
CIE-LCHlch(50.84, 65.09, 140.79°)
OKLaboklab(55.96% -0.136 0.095)
OKLCHoklch(55.96% 0.166 145.1)
XYZxyz(10.2087, 19.1310, 5.5370)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C2C #8C1878
analogous
#3E8C18 #188C2C #188C66
triadic
#188C2C #2C188C #8C2C18
tetradic
#188C2C #183E8C #8C1878 #8C6618
square
#188C2C #183E8C #8C1878 #8C6618
split-complementary
#188C2C #66188C #8C183E
monochromatic
#06240B #0F581C #188C2C #21C03C #40DE5B

Accessibility & contrast

On white

4.35
#188C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#188C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C2C#FFFFFF#000000##000000
##188C2C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c2c;
/* rgb */ color: rgb(24, 140, 44);
/* oklch */ color: oklch(56.0% 0.166 145.1);
Tailwind
colors: {
  custom: {
    50: '#6caf6a',
    500: '#188c2c',
    950: '#000000',
  },
}
SCSS
$custom: #188c2c;
$custom-light: #6caf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188c2c",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 130.345,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.1659,
    "h": 145.1
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#188C2C
secondary
#BF41A9
accent
#3ACFED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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