#188C1A#188C1A

#188C1A is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.177 H 142.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#188C1A
RGBrgb(24, 140, 26)
HSLhsl(121, 71%, 32%)
HSVhsv(121, 83%, 55%)
CMYKcmyk(82.9%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.71, -51.99, 47.85)
CIE-LCHlch(50.71, 70.66, 137.37°)
OKLaboklab(55.82% -0.141 0.1067)
OKLCHoklch(55.82% 0.177 142.9)
XYZxyz(9.9406, 19.0237, 4.1251)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C1A #8C188A
analogous
#508C18 #188C1A #188C54
triadic
#188C1A #1A188C #8C1A18
tetradic
#188C1A #18508C #8C188A #8C5418
square
#188C1A #18508C #8C188A #8C5418
split-complementary
#188C1A #54188C #8C1850
monochromatic
#062407 #0F5810 #188C1A #21C024 #40DE43

Accessibility & contrast

On white

4.37
#188C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#188C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C1A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C1A#FFFFFF#000000##000000
##188C1A1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c1a;
/* rgb */ color: rgb(24, 140, 26);
/* oklch */ color: oklch(55.8% 0.177 142.9);
Tailwind
colors: {
  custom: {
    50: '#6daf61',
    500: '#188c1a',
    950: '#000000',
  },
}
SCSS
$custom: #188c1a;
$custom-light: #6daf61;
$custom-dark: #000000;
JSON
{
  "hex": "#188c1a",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 121.034,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.17683,
    "h": 142.9
  },
  "luminance": 0.19025
}

Semantic roles & 50–950 ramp

primary
#188C1A
secondary
#BF41BD
accent
#3AEAED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #188C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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