#188518#188518

#188518 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.170 H 142.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#188518
RGBrgb(24, 133, 24)
HSLhsl(120, 69%, 31%)
HSVhsv(120, 82%, 52%)
CMYKcmyk(82%, 0%, 82%, 47.8%)
CIE-LABlab(48.30, -49.88, 46.20)
CIE-LCHlch(48.30, 67.98, 137.19°)
OKLaboklab(53.81% -0.1354 0.1029)
OKLCHoklch(53.81% 0.17 142.8)
XYZxyz(8.9285, 17.0341, 3.6813)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188518 #851885
analogous
#4E8518 #188518 #18854E
triadic
#188518 #181885 #851818
tetradic
#188518 #184E85 #851885 #854E18
square
#188518 #184E85 #851885 #854E18
split-complementary
#188518 #4E1885 #85184E
monochromatic
#051D05 #0F510F #188518 #21B921 #3CDC3C

Accessibility & contrast

On white

4.77
#188518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#188518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188518
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188518#FFFFFF#000000##FFFFFF
##1885181.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7C7025
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #188518;
/* rgb */ color: rgb(24, 133, 24);
/* oklch */ color: oklch(53.8% 0.170 142.8);
Tailwind
colors: {
  custom: {
    50: '#6baa5f',
    500: '#188518',
    950: '#000000',
  },
}
SCSS
$custom: #188518;
$custom-light: #6baa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#188518",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53806,
    "c": 0.17006,
    "h": 142.8
  },
  "luminance": 0.17035
}

Semantic roles & 50–950 ramp

primary
#188518
secondary
#B940B9
accent
#3CECEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188518

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

Preview Lab → · Contrast checker → · Palette generator →

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