#187F3C#187F3C

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

Color values

HEX#187F3C
RGBrgb(24, 127, 60)
HSLhsl(141, 68%, 30%)
HSVhsv(141, 81%, 50%)
CMYKcmyk(81.1%, 0%, 52.8%, 50.2%)
CIE-LABlab(46.58, -43.69, 28.38)
CIE-LCHlch(46.58, 52.10, 146.99°)
OKLaboklab(52.48% -0.1173 0.0687)
OKLCHoklch(52.48% 0.136 149.7)
XYZxyz(8.7809, 15.6981, 6.8413)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3C #7F185B
analogous
#277F18 #187F3C #187F70
triadic
#187F3C #3C187F #7F3C18
tetradic
#187F3C #18277F #7F185B #7F7018
square
#187F3C #18277F #7F185B #7F7018
split-complementary
#187F3C #70187F #7F1827
monochromatic
#051A0C #0E4C24 #187F3C #22B254 #38D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F3C#FFFFFF#000000##FFFFFF
##187F3C1.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)
#807336
Deuteranopia (green-blind)
#746B41
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3c;
/* rgb */ color: rgb(24, 127, 60);
/* oklch */ color: oklch(52.5% 0.136 149.7);
Tailwind
colors: {
  custom: {
    50: '#68a573',
    500: '#187f3c',
    950: '#000000',
  },
}
SCSS
$custom: #187f3c;
$custom-light: #68a573;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3c",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 60
  },
  "hsl": {
    "h": 140.971,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.13597,
    "h": 149.7
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#187F3C
secondary
#B33F8B
accent
#3DAEEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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