#188918#188918

#188918 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.174 H 142.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#188918
RGBrgb(24, 137, 24)
HSLhsl(120, 70%, 32%)
HSVhsv(120, 82%, 54%)
CMYKcmyk(82.5%, 0%, 82.5%, 46.3%)
CIE-LABlab(49.68, -51.16, 47.49)
CIE-LCHlch(49.68, 69.81, 137.13°)
OKLaboklab(54.95% -0.1389 0.1056)
OKLCHoklch(54.95% 0.174 142.7)
XYZxyz(9.4866, 18.1503, 3.8674)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188918 #891889
analogous
#518918 #188918 #188951
triadic
#188918 #181889 #891818
tetradic
#188918 #185189 #891889 #895118
square
#188918 #185189 #891889 #895118
split-complementary
#188918 #511889 #891851
monochromatic
#062106 #0F550F #188918 #21BD21 #3EDD3E

Accessibility & contrast

On white

4.54
#188918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#188918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188918
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188918#FFFFFF#000000##000000
##1889181.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #188918;
/* rgb */ color: rgb(24, 137, 24);
/* oklch */ color: oklch(55.0% 0.174 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#188918',
    950: '#000000',
  },
}
SCSS
$custom: #188918;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#188918",
  "rgb": {
    "r": 24,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.17448,
    "h": 142.7
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#188918
secondary
#BD40BD
accent
#3BEDED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188918

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

Preview Lab → · Contrast checker → · Palette generator →

#188918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva