#188F2B#188F2B

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

Color values

HEX#188F2B
RGBrgb(24, 143, 43)
HSLhsl(130, 71%, 33%)
HSVhsv(130, 83%, 56%)
CMYKcmyk(83.2%, 0%, 69.9%, 43.9%)
CIE-LABlab(51.85, -51.53, 42.66)
CIE-LCHlch(51.85, 66.90, 140.38°)
OKLaboklab(56.8% -0.139 0.0981)
OKLCHoklch(56.8% 0.17 144.8)
XYZxyz(10.6344, 20.0122, 5.5873)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F2B #8F187C
analogous
#408F18 #188F2B #188F66
triadic
#188F2B #2B188F #8F2B18
tetradic
#188F2B #18408F #8F187C #8F6618
square
#188F2B #18408F #8F187C #8F6618
split-complementary
#188F2B #66188F #8F1840
monochromatic
#06260B #0F5B1B #188F2B #21C33B #42DF5B

Accessibility & contrast

On white

4.20
#188F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#188F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F2B#FFFFFF#000000##000000
##188F2B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811D
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #188f2b;
/* rgb */ color: rgb(24, 143, 43);
/* oklch */ color: oklch(56.8% 0.170 144.8);
Tailwind
colors: {
  custom: {
    50: '#6db16a',
    500: '#188f2b',
    950: '#000000',
  },
}
SCSS
$custom: #188f2b;
$custom-light: #6db16a;
$custom-dark: #000000;
JSON
{
  "hex": "#188f2b",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 129.58,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56799,
    "c": 0.17015,
    "h": 144.8
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#188F2B
secondary
#C043AC
accent
#3AD1EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #188F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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