#188A2F#188A2F

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

Color values

HEX#188A2F
RGBrgb(24, 138, 47)
HSLhsl(132, 70%, 32%)
HSVhsv(132, 83%, 54%)
CMYKcmyk(82.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(50.19, -49.42, 39.09)
CIE-LCHlch(50.19, 63.01, 141.66°)
OKLaboklab(55.43% -0.1331 0.091)
OKLCHoklch(55.43% 0.161 145.6)
XYZxyz(9.9775, 18.5752, 5.7483)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A2F #8A1873
analogous
#3A8A18 #188A2F #188A68
triadic
#188A2F #2F188A #8A2F18
tetradic
#188A2F #183A8A #8A1873 #8A6818
square
#188A2F #183A8A #8A1873 #8A6818
split-complementary
#188A2F #68188A #8A183A
monochromatic
#06220B #0F561D #188A2F #21BE41 #3FDE5F

Accessibility & contrast

On white

4.45
#188A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#188A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A2F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A2F#FFFFFF#000000##000000
##188A2F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #188a2f;
/* rgb */ color: rgb(24, 138, 47);
/* oklch */ color: oklch(55.4% 0.161 145.6);
Tailwind
colors: {
  custom: {
    50: '#6bad6b',
    500: '#188a2f',
    950: '#000000',
  },
}
SCSS
$custom: #188a2f;
$custom-light: #6bad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#188a2f",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 132.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55427,
    "c": 0.16126,
    "h": 145.6
  },
  "luminance": 0.18576
}

Semantic roles & 50–950 ramp

primary
#188A2F
secondary
#BD40A4
accent
#3BC9ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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