#188A2A#188A2A

#188A2A is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.165 H 144.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#188A2A
RGBrgb(24, 138, 42)
HSLhsl(129, 70%, 32%)
HSVhsv(129, 83%, 54%)
CMYKcmyk(82.6%, 0%, 69.6%, 45.9%)
CIE-LABlab(50.14, -49.98, 41.26)
CIE-LCHlch(50.14, 64.81, 140.46°)
OKLaboklab(55.38% -0.1348 0.095)
OKLCHoklch(55.38% 0.165 144.8)
XYZxyz(9.8824, 18.5371, 5.2472)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A2A #8A1878
analogous
#3F8A18 #188A2A #188A63
triadic
#188A2A #2A188A #8A2A18
tetradic
#188A2A #183F8A #8A1878 #8A6318
square
#188A2A #183F8A #8A1878 #8A6318
split-complementary
#188A2A #63188A #8A183F
monochromatic
#06220A #0F561A #188A2A #21BE3A #3FDE58

Accessibility & contrast

On white

4.46
#188A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#188A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A2A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A2A#FFFFFF#000000##000000
##188A2A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a2a;
/* rgb */ color: rgb(24, 138, 42);
/* oklch */ color: oklch(55.4% 0.165 144.8);
Tailwind
colors: {
  custom: {
    50: '#6cad69',
    500: '#188a2a',
    950: '#000000',
  },
}
SCSS
$custom: #188a2a;
$custom-light: #6cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#188a2a",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 129.474,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55375,
    "c": 0.16496,
    "h": 144.8
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#188A2A
secondary
#BD40AA
accent
#3BD1ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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