#188A18#188A18

#188A18 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.176 H 142.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#188A18
RGBrgb(24, 138, 24)
HSLhsl(120, 70%, 32%)
HSVhsv(120, 83%, 54%)
CMYKcmyk(82.6%, 0%, 82.6%, 45.9%)
CIE-LABlab(50.02, -51.48, 47.82)
CIE-LCHlch(50.02, 70.26, 137.11°)
OKLaboklab(55.24% -0.1397 0.1063)
OKLCHoklch(55.24% 0.176 142.7)
XYZxyz(9.6294, 18.4359, 3.9150)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188A18 #8A188A
analogous
#518A18 #188A18 #188A51
triadic
#188A18 #18188A #8A1818
tetradic
#188A18 #18518A #8A188A #8A5118
square
#188A18 #18518A #8A188A #8A5118
split-complementary
#188A18 #51188A #8A1851
monochromatic
#062206 #0F560F #188A18 #21BE21 #3FDE3F

Accessibility & contrast

On white

4.48
#188A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#188A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #188A18
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188A18#FFFFFF#000000##000000
##188A181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #188a18;
/* rgb */ color: rgb(24, 138, 24);
/* oklch */ color: oklch(55.2% 0.176 142.7);
Tailwind
colors: {
  custom: {
    50: '#6dad60',
    500: '#188a18',
    950: '#000000',
  },
}
SCSS
$custom: #188a18;
$custom-light: #6dad60;
$custom-dark: #000000;
JSON
{
  "hex": "#188a18",
  "rgb": {
    "r": 24,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.17558,
    "h": 142.7
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188A18

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

Preview Lab → · Contrast checker → · Palette generator →

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