#188F2F#188F2F

#188F2F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.167 H 145.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#188F2F
RGBrgb(24, 143, 47)
HSLhsl(132, 71%, 33%)
HSVhsv(132, 83%, 56%)
CMYKcmyk(83.2%, 0%, 67.1%, 43.9%)
CIE-LABlab(51.89, -51.10, 40.97)
CIE-LCHlch(51.89, 65.49, 141.28°)
OKLaboklab(56.84% -0.1377 0.095)
OKLCHoklch(56.84% 0.167 145.4)
XYZxyz(10.7115, 20.0430, 5.9929)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F2F #8F1878
analogous
#3C8F18 #188F2F #188F6B
triadic
#188F2F #2F188F #8F2F18
tetradic
#188F2F #183C8F #8F1878 #8F6B18
square
#188F2F #183C8F #8F1878 #8F6B18
split-complementary
#188F2F #6B188F #8F183C
monochromatic
#06260D #0F5B1E #188F2F #21C340 #42DF60

Accessibility & contrast

On white

4.19
#188F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#188F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F2F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F2F#FFFFFF#000000##000000
##188F2F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f2f;
/* rgb */ color: rgb(24, 143, 47);
/* oklch */ color: oklch(56.8% 0.167 145.4);
Tailwind
colors: {
  custom: {
    50: '#6db16c',
    500: '#188f2f',
    950: '#000000',
  },
}
SCSS
$custom: #188f2f;
$custom-light: #6db16c;
$custom-dark: #000000;
JSON
{
  "hex": "#188f2f",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 131.597,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.16728,
    "h": 145.4
  },
  "luminance": 0.20044
}

Semantic roles & 50–950 ramp

primary
#188F2F
secondary
#C043A8
accent
#3ACBEE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #188F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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