#188A2B#188A2B

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

Color values

HEX#188A2B
RGBrgb(24, 138, 43)
HSLhsl(130, 70%, 32%)
HSVhsv(130, 83%, 54%)
CMYKcmyk(82.6%, 0%, 68.8%, 45.9%)
CIE-LABlab(50.15, -49.87, 40.83)
CIE-LCHlch(50.15, 64.45, 140.69°)
OKLaboklab(55.39% -0.1345 0.0943)
OKLCHoklch(55.39% 0.164 145)
XYZxyz(9.9005, 18.5444, 5.3427)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A2B #8A1877
analogous
#3E8A18 #188A2B #188A64
triadic
#188A2B #2B188A #8A2B18
tetradic
#188A2B #183E8A #8A1877 #8A6418
square
#188A2B #183E8A #8A1877 #8A6418
split-complementary
#188A2B #64188A #8A183E
monochromatic
#06220B #0F561B #188A2B #21BE3B #3FDE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188A2B#FFFFFF#000000##000000
##188A2B1.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)
#8C7C1E
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a2b;
/* rgb */ color: rgb(24, 138, 43);
/* oklch */ color: oklch(55.4% 0.164 145.0);
Tailwind
colors: {
  custom: {
    50: '#6cad69',
    500: '#188a2b',
    950: '#000000',
  },
}
SCSS
$custom: #188a2b;
$custom-light: #6cad69;
$custom-dark: #000000;
JSON
{
  "hex": "#188a2b",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 130,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.16424,
    "h": 145
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#188A2B
secondary
#BD40A9
accent
#3BCFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #188A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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