#188B2B#188B2B

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

Color values

HEX#188B2B
RGBrgb(24, 139, 43)
HSLhsl(130, 71%, 32%)
HSVhsv(130, 83%, 55%)
CMYKcmyk(82.7%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.49, -50.21, 41.20)
CIE-LCHlch(50.49, 64.95, 140.63°)
OKLaboklab(55.67% -0.1354 0.095)
OKLCHoklch(55.67% 0.165 144.9)
XYZxyz(10.0446, 18.8326, 5.3907)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B2B #8B1878
analogous
#3F8B18 #188B2B #188B65
triadic
#188B2B #2B188B #8B2B18
tetradic
#188B2B #183F8B #8B1878 #8B6518
square
#188B2B #183F8B #8B1878 #8B6518
split-complementary
#188B2B #65188B #8B183F
monochromatic
#06230B #0F571B #188B2B #21BF3B #3FDE5A

Accessibility & contrast

On white

4.41
#188B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188B2B#FFFFFF#000000##000000
##188B2B1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b2b;
/* rgb */ color: rgb(24, 139, 43);
/* oklch */ color: oklch(55.7% 0.165 144.9);
Tailwind
colors: {
  custom: {
    50: '#6cae69',
    500: '#188b2b',
    950: '#000000',
  },
}
SCSS
$custom: #188b2b;
$custom-light: #6cae69;
$custom-dark: #000000;
JSON
{
  "hex": "#188b2b",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 129.913,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.16544,
    "h": 144.9
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#188B2B
secondary
#BE40AA
accent
#3AD0ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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