#187218#187218

#187218 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.148 H 142.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#187218
RGBrgb(24, 114, 24)
HSLhsl(120, 65%, 27%)
HSVhsv(120, 79%, 45%)
CMYKcmyk(78.9%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.68, -43.54, 39.78)
CIE-LCHlch(41.68, 58.97, 137.58°)
OKLaboklab(48.3% -0.1182 0.0896)
OKLCHoklch(48.3% 0.148 142.8)
XYZxyz(6.5585, 12.2940, 2.8913)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187218 #721872
analogous
#457218 #187218 #187245
triadic
#187218 #181872 #721818
tetradic
#187218 #184572 #721872 #724518
square
#187218 #184572 #721872 #724518
split-complementary
#187218 #451872 #721845
monochromatic
#051905 #0D3F0D #187218 #23A523 #31D431

Accessibility & contrast

On white

6.07
#187218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#187218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187218
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187218#FFFFFF#000000##FFFFFF
##1872181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #187218;
/* rgb */ color: rgb(24, 114, 24);
/* oklch */ color: oklch(48.3% 0.148 142.8);
Tailwind
colors: {
  custom: {
    50: '#669c5c',
    500: '#187218',
    950: '#000000',
  },
}
SCSS
$custom: #187218;
$custom-light: #669c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#187218",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.14828,
    "h": 142.8
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#187218
secondary
#A73EA7
accent
#40E8E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #187218

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

Preview Lab → · Contrast checker → · Palette generator →

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