#188818#188818

#188818 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.173 H 142.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#188818
RGBrgb(24, 136, 24)
HSLhsl(120, 70%, 31%)
HSVhsv(120, 82%, 53%)
CMYKcmyk(82.4%, 0%, 82.4%, 46.7%)
CIE-LABlab(49.33, -50.84, 47.17)
CIE-LCHlch(49.33, 69.35, 137.14°)
OKLaboklab(54.67% -0.138 0.105)
OKLCHoklch(54.67% 0.173 142.7)
XYZxyz(9.3451, 17.8673, 3.8202)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188818 #881888
analogous
#508818 #188818 #188850
triadic
#188818 #181888 #881818
tetradic
#188818 #185088 #881888 #885018
square
#188818 #185088 #881888 #885018
split-complementary
#188818 #501888 #881850
monochromatic
#062006 #0F540F #188818 #21BC21 #3EDD3E

Accessibility & contrast

On white

4.59
#188818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#188818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #188818
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188818#FFFFFF#000000##FFFFFF
##1888181.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#008473
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #188818;
/* rgb */ color: rgb(24, 136, 24);
/* oklch */ color: oklch(54.7% 0.173 142.7);
Tailwind
colors: {
  custom: {
    50: '#6cac5f',
    500: '#188818',
    950: '#000000',
  },
}
SCSS
$custom: #188818;
$custom-light: #6cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#188818",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.17338,
    "h": 142.7
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #188818

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

Preview Lab → · Contrast checker → · Palette generator →

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