#188B2D#188B2D

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

Color values

HEX#188B2D
RGBrgb(24, 139, 45)
HSLhsl(131, 71%, 32%)
HSVhsv(131, 83%, 55%)
CMYKcmyk(82.7%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.51, -49.99, 40.34)
CIE-LCHlch(50.51, 64.24, 141.09°)
OKLaboklab(55.69% -0.1347 0.0934)
OKLCHoklch(55.69% 0.164 145.3)
XYZxyz(10.0822, 18.8477, 5.5887)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B2D #8B1876
analogous
#3C8B18 #188B2D #188B67
triadic
#188B2D #2D188B #8B2D18
tetradic
#188B2D #183C8B #8B1876 #8B6718
square
#188B2D #183C8B #8B1876 #8B6718
split-complementary
#188B2D #67188B #8B183C
monochromatic
#06230B #0F571C #188B2D #21BF3E #3FDE5C

Accessibility & contrast

On white

4.40
#188B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##188B2D#FFFFFF#000000##000000
##188B2D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D21
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b2d;
/* rgb */ color: rgb(24, 139, 45);
/* oklch */ color: oklch(55.7% 0.164 145.3);
Tailwind
colors: {
  custom: {
    50: '#6cae6a',
    500: '#188b2d',
    950: '#000000',
  },
}
SCSS
$custom: #188b2d;
$custom-light: #6cae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188b2d",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 130.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.16397,
    "h": 145.3
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

primary
#188B2D
secondary
#BE40A7
accent
#3ACDED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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