#187C2B#187C2B

#187C2B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.147 H 145.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187C2B
RGBrgb(24, 124, 43)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(80.6%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.34, -45.07, 35.51)
CIE-LCHlch(45.34, 57.38, 141.76°)
OKLaboklab(51.39% -0.1215 0.083)
OKLCHoklch(51.39% 0.147 145.7)
XYZxyz(8.0198, 14.7830, 4.7158)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2B #7C1869
analogous
#377C18 #187C2B #187C5D
triadic
#187C2B #2B187C #7C2B18
tetradic
#187C2B #18377C #7C1869 #7C5D18
square
#187C2B #18377C #7C1869 #7C5D18
split-complementary
#187C2B #5D187C #7C1837
monochromatic
#051A09 #0E4919 #187C2B #22AF3D #36D855

Accessibility & contrast

On white

5.31
#187C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#187C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C2B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C2B#FFFFFF#000000##FFFFFF
##187C2B1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7022
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c2b;
/* rgb */ color: rgb(24, 124, 43);
/* oklch */ color: oklch(51.4% 0.147 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a368',
    500: '#187c2b',
    950: '#000000',
  },
}
SCSS
$custom: #187c2b;
$custom-light: #68a368;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2b",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 131.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.1471,
    "h": 145.7
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#187C2B
secondary
#B13F9B
accent
#3DCAEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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