#187C2E#187C2E

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

Color values

HEX#187C2E
RGBrgb(24, 124, 46)
HSLhsl(133, 68%, 29%)
HSVhsv(133, 81%, 49%)
CMYKcmyk(80.6%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.37, -44.69, 34.11)
CIE-LCHlch(45.37, 56.22, 142.65°)
OKLaboklab(51.42% -0.1203 0.0803)
OKLCHoklch(51.42% 0.145 146.3)
XYZxyz(8.0769, 14.8058, 5.0164)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2E #7C1866
analogous
#347C18 #187C2E #187C60
triadic
#187C2E #2E187C #7C2E18
tetradic
#187C2E #18347C #7C1866 #7C6018
square
#187C2E #18347C #7C1866 #7C6018
split-complementary
#187C2E #60187C #7C1834
monochromatic
#051A0A #0E491B #187C2E #22AF41 #36D85A

Accessibility & contrast

On white

5.30
#187C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187C2E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C2E#FFFFFF#000000##FFFFFF
##187C2E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187c2e;
/* rgb */ color: rgb(24, 124, 46);
/* oklch */ color: oklch(51.4% 0.145 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a36a',
    500: '#187c2e',
    950: '#000000',
  },
}
SCSS
$custom: #187c2e;
$custom-light: #68a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2e",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 133.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.14464,
    "h": 146.3
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#187C2E
secondary
#B13F98
accent
#3DC4EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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