#188618#188618

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

Color values

HEX#188618
RGBrgb(24, 134, 24)
HSLhsl(120, 70%, 31%)
HSVhsv(120, 82%, 53%)
CMYKcmyk(82.1%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.65, -50.20, 46.52)
CIE-LCHlch(48.65, 68.44, 137.18°)
OKLaboklab(54.09% -0.1362 0.1036)
OKLCHoklch(54.09% 0.171 142.7)
XYZxyz(9.0661, 17.3092, 3.7272)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#188618 #861886
analogous
#4F8618 #188618 #18864F
triadic
#188618 #181886 #861818
tetradic
#188618 #184F86 #861886 #864F18
square
#188618 #184F86 #861886 #864F18
split-complementary
#188618 #4F1886 #86184F
monochromatic
#051E05 #0F520F #188618 #21BA21 #3CDC3C

Accessibility & contrast

On white

4.71
#188618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#188618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #188618
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##188618#FFFFFF#000000##FFFFFF
##1886181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #188618;
/* rgb */ color: rgb(24, 134, 24);
/* oklch */ color: oklch(54.1% 0.171 142.7);
Tailwind
colors: {
  custom: {
    50: '#6caa5f',
    500: '#188618',
    950: '#000000',
  },
}
SCSS
$custom: #188618;
$custom-light: #6caa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#188618",
  "rgb": {
    "r": 24,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.17117,
    "h": 142.7
  },
  "luminance": 0.1731
}

Semantic roles & 50–950 ramp

primary
#188618
secondary
#BA40BA
accent
#3BECEC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #188618

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

Preview Lab → · Contrast checker → · Palette generator →

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