#187A3F#187A3F

#187A3F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.126 H 151.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#187A3F
RGBrgb(24, 122, 63)
HSLhsl(144, 67%, 29%)
HSVhsv(144, 80%, 48%)
CMYKcmyk(80.3%, 0%, 48.4%, 52.2%)
CIE-LABlab(44.90, -41.28, 24.65)
CIE-LCHlch(44.90, 48.08, 149.16°)
OKLaboklab(51.11% -0.1109 0.0604)
OKLCHoklch(51.11% 0.126 151.4)
XYZxyz(8.2327, 14.4712, 7.0610)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A3F #7A1853
analogous
#227A18 #187A3F #187A70
triadic
#187A3F #3F187A #7A3F18
tetradic
#187A3F #18227A #7A1853 #7A7018
square
#187A3F #18227A #7A1853 #7A7018
split-complementary
#187A3F #70187A #7A1822
monochromatic
#051A0D #0E4725 #187A3F #22AD59 #35D776

Accessibility & contrast

On white

5.39
#187A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A3F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A3F#FFFFFF#000000##FFFFFF
##187A3F1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3A
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a3f;
/* rgb */ color: rgb(24, 122, 63);
/* oklch */ color: oklch(51.1% 0.126 151.4);
Tailwind
colors: {
  custom: {
    50: '#67a175',
    500: '#187a3f',
    950: '#000000',
  },
}
SCSS
$custom: #187a3f;
$custom-light: #67a175;
$custom-dark: #000000;
JSON
{
  "hex": "#187a3f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 143.878,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.12629,
    "h": 151.4
  },
  "luminance": 0.14472
}

Semantic roles & 50–950 ramp

primary
#187A3F
secondary
#AF3F82
accent
#3EA5EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A3F

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

Preview Lab → · Contrast checker → · Palette generator →

#187A3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva