#188B34#188B34

#188B34 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.159 H 146.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#188B34
RGBrgb(24, 139, 52)
HSLhsl(135, 71%, 32%)
HSVhsv(135, 83%, 55%)
CMYKcmyk(82.7%, 0%, 62.6%, 45.5%)
CIE-LABlab(50.58, -49.14, 37.20)
CIE-LCHlch(50.58, 61.63, 142.88°)
OKLaboklab(55.77% -0.1322 0.0875)
OKLCHoklch(55.77% 0.159 146.5)
XYZxyz(10.2284, 18.9061, 6.3583)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B34 #8B186F
analogous
#358B18 #188B34 #188B6E
triadic
#188B34 #34188B #8B3418
tetradic
#188B34 #18358B #8B186F #8B6E18
square
#188B34 #18358B #8B186F #8B6E18
split-complementary
#188B34 #6E188B #8B1835
monochromatic
#06230D #0F5720 #188B34 #21BF48 #3FDE66

Accessibility & contrast

On white

4.39
#188B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#188B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B34
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B34#FFFFFF#000000##000000
##188B341.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2B
Deuteranopia (green-blind)
#81753B
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b34;
/* rgb */ color: rgb(24, 139, 52);
/* oklch */ color: oklch(55.8% 0.159 146.5);
Tailwind
colors: {
  custom: {
    50: '#6bae6f',
    500: '#188b34',
    950: '#000000',
  },
}
SCSS
$custom: #188b34;
$custom-light: #6bae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#188b34",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 52
  },
  "hsl": {
    "h": 134.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.15851,
    "h": 146.5
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#188B34
secondary
#BE40A0
accent
#3AC2ED
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188B34

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

Preview Lab → · Contrast checker → · Palette generator →

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