#188B18#188B18

#188B18 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.177 H 142.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#188B18
RGBrgb(24, 139, 24)
HSLhsl(120, 71%, 32%)
HSVhsv(120, 83%, 55%)
CMYKcmyk(82.7%, 0%, 82.7%, 45.5%)
CIE-LABlab(50.36, -51.80, 48.14)
CIE-LCHlch(50.36, 70.71, 137.10°)
OKLaboklab(55.52% -0.1406 0.107)
OKLCHoklch(55.52% 0.177 142.7)
XYZxyz(9.7736, 18.7242, 3.9630)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188B18 #8B188B
analogous
#528B18 #188B18 #188B52
triadic
#188B18 #18188B #8B1818
tetradic
#188B18 #18528B #8B188B #8B5218
square
#188B18 #18528B #8B188B #8B5218
split-complementary
#188B18 #52188B #8B1852
monochromatic
#062306 #0F570F #188B18 #21BF21 #3FDE3F

Accessibility & contrast

On white

4.43
#188B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#188B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188B18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188B18#FFFFFF#000000##000000
##188B181.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #188b18;
/* rgb */ color: rgb(24, 139, 24);
/* oklch */ color: oklch(55.5% 0.177 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dae60',
    500: '#188b18',
    950: '#000000',
  },
}
SCSS
$custom: #188b18;
$custom-light: #6dae60;
$custom-dark: #000000;
JSON
{
  "hex": "#188b18",
  "rgb": {
    "r": 24,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.17667,
    "h": 142.7
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#188B18
secondary
#BE40BE
accent
#3AEDED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188B18

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

Preview Lab → · Contrast checker → · Palette generator →

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