#188A2C#188A2C

#188A2C is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.164 H 145.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#188A2C
RGBrgb(24, 138, 44)
HSLhsl(131, 70%, 32%)
HSVhsv(131, 83%, 54%)
CMYKcmyk(82.6%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.16, -49.76, 40.40)
CIE-LCHlch(50.16, 64.10, 140.93°)
OKLaboklab(55.4% -0.1342 0.0935)
OKLCHoklch(55.4% 0.164 145.1)
XYZxyz(9.9191, 18.5518, 5.4405)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A2C #8A1876
analogous
#3D8A18 #188A2C #188A65
triadic
#188A2C #2C188A #8A2C18
tetradic
#188A2C #183D8A #8A1876 #8A6518
square
#188A2C #183D8A #8A1876 #8A6518
split-complementary
#188A2C #65188A #8A183D
monochromatic
#06220B #0F561B #188A2C #21BE3D #3FDE5B

Accessibility & contrast

On white

4.46
#188A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#188A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A2C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A2C#FFFFFF#000000##000000
##188A2C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D20
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a2c;
/* rgb */ color: rgb(24, 138, 44);
/* oklch */ color: oklch(55.4% 0.164 145.1);
Tailwind
colors: {
  custom: {
    50: '#6cad6a',
    500: '#188a2c',
    950: '#000000',
  },
}
SCSS
$custom: #188a2c;
$custom-light: #6cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188a2c",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 130.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.16352,
    "h": 145.1
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#188A2C
secondary
#BD40A7
accent
#3BCEED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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