#188B1A#188B1A

#188B1A is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.176 H 142.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#188B1A
RGBrgb(24, 139, 26)
HSLhsl(121, 71%, 32%)
HSVhsv(121, 83%, 55%)
CMYKcmyk(82.7%, 0%, 81.3%, 45.5%)
CIE-LABlab(50.37, -51.67, 47.53)
CIE-LCHlch(50.37, 70.21, 137.39°)
OKLaboklab(55.53% -0.1402 0.106)
OKLCHoklch(55.53% 0.176 142.9)
XYZxyz(9.7951, 18.7328, 4.0766)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B1A #8B1889
analogous
#508B18 #188B1A #188B53
triadic
#188B1A #1A188B #8B1A18
tetradic
#188B1A #18508B #8B1889 #8B5318
square
#188B1A #18508B #8B1889 #8B5318
split-complementary
#188B1A #53188B #8B1850
monochromatic
#062306 #0F5710 #188B1A #21BF24 #3FDE42

Accessibility & contrast

On white

4.42
#188B1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#188B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B1A
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B1A#FFFFFF#000000##000000
##188B1A1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b1a;
/* rgb */ color: rgb(24, 139, 26);
/* oklch */ color: oklch(55.5% 0.176 142.9);
Tailwind
colors: {
  custom: {
    50: '#6dae61',
    500: '#188b1a',
    950: '#000000',
  },
}
SCSS
$custom: #188b1a;
$custom-light: #6dae61;
$custom-dark: #000000;
JSON
{
  "hex": "#188b1a",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 121.043,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.17573,
    "h": 142.9
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#188B1A
secondary
#BE40BC
accent
#3AEAED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #188B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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