#188D18#188D18

#188D18 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.179 H 142.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#188D18
RGBrgb(24, 141, 24)
HSLhsl(120, 71%, 32%)
HSVhsv(120, 83%, 55%)
CMYKcmyk(83%, 0%, 83%, 44.7%)
CIE-LABlab(51.05, -52.43, 48.78)
CIE-LCHlch(51.05, 71.61, 137.07°)
OKLaboklab(56.09% -0.1423 0.1083)
OKLCHoklch(56.09% 0.179 142.7)
XYZxyz(10.0658, 19.3087, 4.0604)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188D18 #8D188D
analogous
#538D18 #188D18 #188D53
triadic
#188D18 #18188D #8D1818
tetradic
#188D18 #18538D #8D188D #8D5318
square
#188D18 #18538D #8D188D #8D5318
split-complementary
#188D18 #53188D #8D1853
monochromatic
#062406 #0F590F #188D18 #21C121 #41DF41

Accessibility & contrast

On white

4.32
#188D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#188D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188D18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188D18#FFFFFF#000000##000000
##188D181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #188d18;
/* rgb */ color: rgb(24, 141, 24);
/* oklch */ color: oklch(56.1% 0.179 142.7);
Tailwind
colors: {
  custom: {
    50: '#6db060',
    500: '#188d18',
    950: '#000000',
  },
}
SCSS
$custom: #188d18;
$custom-light: #6db060;
$custom-dark: #000000;
JSON
{
  "hex": "#188d18",
  "rgb": {
    "r": 24,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.17884,
    "h": 142.7
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#188D18
secondary
#BF42BF
accent
#3AEEEE
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #188D18

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

Preview Lab → · Contrast checker → · Palette generator →

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