#187F3E#187F3E

#187F3E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.134 H 150.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#187F3E
RGBrgb(24, 127, 62)
HSLhsl(142, 68%, 30%)
HSVhsv(142, 81%, 50%)
CMYKcmyk(81.1%, 0%, 51.2%, 50.2%)
CIE-LABlab(46.60, -43.35, 27.34)
CIE-LCHlch(46.60, 51.26, 147.76°)
OKLaboklab(52.51% -0.1164 0.0665)
OKLCHoklch(52.51% 0.134 150.3)
XYZxyz(8.8348, 15.7197, 7.1251)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3E #7F1859
analogous
#267F18 #187F3E #187F72
triadic
#187F3E #3E187F #7F3E18
tetradic
#187F3E #18267F #7F1859 #7F7218
square
#187F3E #18267F #7F1859 #7F7218
split-complementary
#187F3E #72187F #7F1826
monochromatic
#051A0D #0E4C25 #187F3E #22B257 #38D974

Accessibility & contrast

On white

5.07
#187F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#187F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F3E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F3E#FFFFFF#000000##FFFFFF
##187F3E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807339
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3e;
/* rgb */ color: rgb(24, 127, 62);
/* oklch */ color: oklch(52.5% 0.134 150.3);
Tailwind
colors: {
  custom: {
    50: '#68a574',
    500: '#187f3e',
    950: '#000000',
  },
}
SCSS
$custom: #187f3e;
$custom-light: #68a574;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3e",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 142.136,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52514,
    "c": 0.13407,
    "h": 150.3
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#187F3E
secondary
#B33F89
accent
#3DABEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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