#188C18#188C18

#188C18 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.178 H 142.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#188C18
RGBrgb(24, 140, 24)
HSLhsl(120, 71%, 32%)
HSVhsv(120, 83%, 55%)
CMYKcmyk(82.9%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.70, -52.12, 48.46)
CIE-LCHlch(50.70, 71.17, 137.08°)
OKLaboklab(55.81% -0.1414 0.1077)
OKLCHoklch(55.81% 0.178 142.7)
XYZxyz(9.9190, 19.0151, 4.0115)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188C18 #8C188C
analogous
#528C18 #188C18 #188C52
triadic
#188C18 #18188C #8C1818
tetradic
#188C18 #18528C #8C188C #8C5218
square
#188C18 #18528C #8C188C #8C5218
split-complementary
#188C18 #52188C #8C1852
monochromatic
#062406 #0F580F #188C18 #21C021 #40DE40

Accessibility & contrast

On white

4.37
#188C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#188C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188C18
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188C18#FFFFFF#000000##000000
##188C181.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #188c18;
/* rgb */ color: rgb(24, 140, 24);
/* oklch */ color: oklch(55.8% 0.178 142.7);
Tailwind
colors: {
  custom: {
    50: '#6daf60',
    500: '#188c18',
    950: '#000000',
  },
}
SCSS
$custom: #188c18;
$custom-light: #6daf60;
$custom-dark: #000000;
JSON
{
  "hex": "#188c18",
  "rgb": {
    "r": 24,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.17775,
    "h": 142.7
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#188C18
secondary
#BF41BF
accent
#3AEDED
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188C18

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

Preview Lab → · Contrast checker → · Palette generator →

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