#188A2D#188A2D

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

Color values

HEX#188A2D
RGBrgb(24, 138, 45)
HSLhsl(131, 70%, 32%)
HSVhsv(131, 83%, 54%)
CMYKcmyk(82.6%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.17, -49.65, 39.97)
CIE-LCHlch(50.17, 63.74, 141.17°)
OKLaboklab(55.41% -0.1338 0.0927)
OKLCHoklch(55.41% 0.163 145.3)
XYZxyz(9.9381, 18.5594, 5.5407)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A2D #8A1875
analogous
#3C8A18 #188A2D #188A66
triadic
#188A2D #2D188A #8A2D18
tetradic
#188A2D #183C8A #8A1875 #8A6618
square
#188A2D #183C8A #8A1875 #8A6618
split-complementary
#188A2D #66188A #8A183C
monochromatic
#06220B #0F561C #188A2D #21BE3E #3FDE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188A2D#FFFFFF#000000##000000
##188A2D1.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)
#8C7D21
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a2d;
/* rgb */ color: rgb(24, 138, 45);
/* oklch */ color: oklch(55.4% 0.163 145.3);
Tailwind
colors: {
  custom: {
    50: '#6cad6a',
    500: '#188a2d',
    950: '#000000',
  },
}
SCSS
$custom: #188a2d;
$custom-light: #6cad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188a2d",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 131.053,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.16277,
    "h": 145.3
  },
  "luminance": 0.18561
}

Semantic roles & 50–950 ramp

primary
#188A2D
secondary
#BD40A6
accent
#3BCCED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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