#188C2D#188C2D

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

Color values

HEX#188C2D
RGBrgb(24, 140, 45)
HSLhsl(131, 71%, 32%)
HSVhsv(131, 83%, 55%)
CMYKcmyk(82.9%, 0%, 67.9%, 45.1%)
CIE-LABlab(50.85, -50.32, 40.72)
CIE-LCHlch(50.85, 64.73, 141.02°)
OKLaboklab(55.97% -0.1356 0.0942)
OKLCHoklch(55.97% 0.165 145.2)
XYZxyz(10.2277, 19.1386, 5.6372)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C2D #8C1877
analogous
#3D8C18 #188C2D #188C67
triadic
#188C2D #2D188C #8C2D18
tetradic
#188C2D #183D8C #8C1877 #8C6718
square
#188C2D #183D8C #8C1877 #8C6718
split-complementary
#188C2D #67188C #8C183D
monochromatic
#06240B #0F581C #188C2D #21C03E #40DE5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##188C2D#FFFFFF#000000##000000
##188C2D1.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)
#8E7E21
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c2d;
/* rgb */ color: rgb(24, 140, 45);
/* oklch */ color: oklch(56.0% 0.165 145.2);
Tailwind
colors: {
  custom: {
    50: '#6caf6a',
    500: '#188c2d',
    950: '#000000',
  },
}
SCSS
$custom: #188c2d;
$custom-light: #6caf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#188c2d",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 130.862,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.16517,
    "h": 145.2
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#188C2D
secondary
#BF41A8
accent
#3ACDED
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #188C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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