#188C2F#188C2F

#188C2F is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.164 H 145.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#188C2F
RGBrgb(24, 140, 47)
HSLhsl(132, 71%, 32%)
HSVhsv(132, 83%, 55%)
CMYKcmyk(82.9%, 0%, 66.4%, 45.1%)
CIE-LABlab(50.87, -50.10, 39.84)
CIE-LCHlch(50.87, 64.01, 141.50°)
OKLaboklab(55.99% -0.135 0.0926)
OKLCHoklch(55.99% 0.164 145.5)
XYZxyz(10.2671, 19.1543, 5.8448)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C2F #8C1875
analogous
#3B8C18 #188C2F #188C69
triadic
#188C2F #2F188C #8C2F18
tetradic
#188C2F #183B8C #8C1875 #8C6918
square
#188C2F #183B8C #8C1875 #8C6918
split-complementary
#188C2F #69188C #8C183B
monochromatic
#06240C #0F581D #188C2F #21C041 #40DE5F

Accessibility & contrast

On white

4.35
#188C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#188C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C2F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C2F#FFFFFF#000000##000000
##188C2F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#827637
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c2f;
/* rgb */ color: rgb(24, 140, 47);
/* oklch */ color: oklch(56.0% 0.164 145.5);
Tailwind
colors: {
  custom: {
    50: '#6caf6c',
    500: '#188c2f',
    950: '#000000',
  },
}
SCSS
$custom: #188c2f;
$custom-light: #6caf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#188c2f",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 131.897,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.16367,
    "h": 145.5
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#188C2F
secondary
#BF41A6
accent
#3ACAED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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