#188F18#188F18

#188F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.181 H 142.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#188F18
RGBrgb(24, 143, 24)
HSLhsl(120, 71%, 33%)
HSVhsv(120, 83%, 56%)
CMYKcmyk(83.2%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.73, -53.06, 49.41)
CIE-LCHlch(51.73, 72.51, 137.04°)
OKLaboklab(56.66% -0.144 0.1097)
OKLCHoklch(56.66% 0.181 142.7)
XYZxyz(10.3634, 19.9038, 4.1596)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188F18 #8F188F
analogous
#538F18 #188F18 #188F53
triadic
#188F18 #18188F #8F1818
tetradic
#188F18 #18538F #8F188F #8F5318
square
#188F18 #18538F #8F188F #8F5318
split-complementary
#188F18 #53188F #8F1853
monochromatic
#062606 #0F5B0F #188F18 #21C321 #42DF42

Accessibility & contrast

On white

4.22
#188F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#188F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188F18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188F18#FFFFFF#000000##000000
##188F181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #188f18;
/* rgb */ color: rgb(24, 143, 24);
/* oklch */ color: oklch(56.7% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#6eb160',
    500: '#188f18',
    950: '#000000',
  },
}
SCSS
$custom: #188f18;
$custom-light: #6eb160;
$custom-dark: #000000;
JSON
{
  "hex": "#188f18",
  "rgb": {
    "r": 24,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.18101,
    "h": 142.7
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#188F18
secondary
#C043C0
accent
#3AEEEE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #188F18

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

Preview Lab → · Contrast checker → · Palette generator →

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