#187F3B#187F3B

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

Color values

HEX#187F3B
RGBrgb(24, 127, 59)
HSLhsl(140, 68%, 30%)
HSVhsv(140, 81%, 50%)
CMYKcmyk(81.1%, 0%, 53.5%, 50.2%)
CIE-LABlab(46.56, -43.86, 28.89)
CIE-LCHlch(46.56, 52.52, 146.62°)
OKLaboklab(52.47% -0.1178 0.0698)
OKLCHoklch(52.47% 0.137 149.3)
XYZxyz(8.7547, 15.6876, 6.7034)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3B #7F185C
analogous
#297F18 #187F3B #187F6F
triadic
#187F3B #3B187F #7F3B18
tetradic
#187F3B #18297F #7F185C #7F6F18
square
#187F3B #18297F #7F185C #7F6F18
split-complementary
#187F3B #6F187F #7F1829
monochromatic
#051A0C #0E4C23 #187F3B #22B253 #38D96F

Accessibility & contrast

On white

5.08
#187F3B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F3B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F3B#FFFFFF#000000##FFFFFF
##187F3B1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807335
Deuteranopia (green-blind)
#746B40
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3b;
/* rgb */ color: rgb(24, 127, 59);
/* oklch */ color: oklch(52.5% 0.137 149.3);
Tailwind
colors: {
  custom: {
    50: '#68a572',
    500: '#187f3b',
    950: '#000000',
  },
}
SCSS
$custom: #187f3b;
$custom-light: #68a572;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 59
  },
  "hsl": {
    "h": 140.388,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.13692,
    "h": 149.3
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#187F3B
secondary
#B33F8C
accent
#3DB0EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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