#188B2A#188B2A

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

Color values

HEX#188B2A
RGBrgb(24, 139, 42)
HSLhsl(129, 71%, 32%)
HSVhsv(129, 83%, 55%)
CMYKcmyk(82.7%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.48, -50.31, 41.62)
CIE-LCHlch(50.48, 65.30, 140.40°)
OKLaboklab(55.66% -0.1357 0.0958)
OKLCHoklch(55.66% 0.166 144.8)
XYZxyz(10.0265, 18.8254, 5.2953)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B2A #8B1879
analogous
#408B18 #188B2A #188B64
triadic
#188B2A #2A188B #8B2A18
tetradic
#188B2A #18408B #8B1879 #8B6418
square
#188B2A #18408B #8B1879 #8B6418
split-complementary
#188B2A #64188B #8B1840
monochromatic
#06230A #0F571A #188B2A #21BF3A #3FDE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188B2A#FFFFFF#000000##000000
##188B2A1.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)
#8D7D1C
Deuteranopia (green-blind)
#817533
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b2a;
/* rgb */ color: rgb(24, 139, 42);
/* oklch */ color: oklch(55.7% 0.166 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cae69',
    500: '#188b2a',
    950: '#000000',
  },
}
SCSS
$custom: #188b2a;
$custom-light: #6cae69;
$custom-dark: #000000;
JSON
{
  "hex": "#188b2a",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 129.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55658,
    "c": 0.16615,
    "h": 144.8
  },
  "luminance": 0.18827
}

Semantic roles & 50–950 ramp

primary
#188B2A
secondary
#BE40AB
accent
#3AD1ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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