#188E2B#188E2B

#188E2B is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.5% C 0.169 H 144.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#188E2B
RGBrgb(24, 142, 43)
HSLhsl(130, 71%, 33%)
HSVhsv(130, 83%, 56%)
CMYKcmyk(83.1%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.51, -51.20, 42.30)
CIE-LCHlch(51.51, 66.41, 140.44°)
OKLaboklab(56.52% -0.1381 0.0973)
OKLCHoklch(56.52% 0.169 144.8)
XYZxyz(10.4850, 19.7133, 5.5375)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188E2B #8E187B
analogous
#408E18 #188E2B #188E66
triadic
#188E2B #2B188E #8E2B18
tetradic
#188E2B #18408E #8E187B #8E6618
square
#188E2B #18408E #8E187B #8E6618
split-complementary
#188E2B #66188E #8E1840
monochromatic
#06250B #0F5A1B #188E2B #21C23B #41DF5B

Accessibility & contrast

On white

4.25
#188E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#188E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188E2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188E2B#FFFFFF#000000##000000
##188E2B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188e2b;
/* rgb */ color: rgb(24, 142, 43);
/* oklch */ color: oklch(56.5% 0.169 144.8);
Tailwind
colors: {
  custom: {
    50: '#6db06a',
    500: '#188e2b',
    950: '#000000',
  },
}
SCSS
$custom: #188e2b;
$custom-light: #6db06a;
$custom-dark: #000000;
JSON
{
  "hex": "#188e2b",
  "rgb": {
    "r": 24,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 129.661,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.16898,
    "h": 144.8
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#188E2B
secondary
#C042AB
accent
#3AD1EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #188E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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