#188B2F#188B2F

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

Color values

HEX#188B2F
RGBrgb(24, 139, 47)
HSLhsl(132, 71%, 32%)
HSVhsv(132, 83%, 55%)
CMYKcmyk(82.7%, 0%, 66.2%, 45.5%)
CIE-LABlab(50.53, -49.76, 39.47)
CIE-LCHlch(50.53, 63.51, 141.58°)
OKLaboklab(55.71% -0.134 0.0918)
OKLCHoklch(55.71% 0.162 145.6)
XYZxyz(10.1217, 18.8634, 5.7963)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B2F #8B1874
analogous
#3B8B18 #188B2F #188B69
triadic
#188B2F #2F188B #8B2F18
tetradic
#188B2F #183B8B #8B1874 #8B6918
square
#188B2F #183B8B #8B1874 #8B6918
split-complementary
#188B2F #69188B #8B183B
monochromatic
#06230C #0F571D #188B2F #21BF41 #3FDE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188B2F#FFFFFF#000000##000000
##188B2F1.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)
#8D7E24
Deuteranopia (green-blind)
#817537
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b2f;
/* rgb */ color: rgb(24, 139, 47);
/* oklch */ color: oklch(55.7% 0.162 145.6);
Tailwind
colors: {
  custom: {
    50: '#6cae6c',
    500: '#188b2f',
    950: '#000000',
  },
}
SCSS
$custom: #188b2f;
$custom-light: #6cae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#188b2f",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 132,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.16247,
    "h": 145.6
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#188B2F
secondary
#BE40A5
accent
#3ACAED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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