#187F3A#187F3A

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

Color values

HEX#187F3A
RGBrgb(24, 127, 58)
HSLhsl(140, 68%, 30%)
HSVhsv(140, 81%, 50%)
CMYKcmyk(81.1%, 0%, 54.3%, 50.2%)
CIE-LABlab(46.55, -44.02, 29.40)
CIE-LCHlch(46.55, 52.94, 146.26°)
OKLaboklab(52.45% -0.1182 0.0709)
OKLCHoklch(52.45% 0.138 149.1)
XYZxyz(8.7291, 15.6774, 6.5682)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3A #7F185D
analogous
#297F18 #187F3A #187F6E
triadic
#187F3A #3A187F #7F3A18
tetradic
#187F3A #18297F #7F185D #7F6E18
square
#187F3A #18297F #7F185D #7F6E18
split-complementary
#187F3A #6E187F #7F1829
monochromatic
#051A0C #0E4C22 #187F3A #22B252 #38D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F3A#FFFFFF#000000##FFFFFF
##187F3A1.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)
#807334
Deuteranopia (green-blind)
#756B3F
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3a;
/* rgb */ color: rgb(24, 127, 58);
/* oklch */ color: oklch(52.4% 0.138 149.1);
Tailwind
colors: {
  custom: {
    50: '#68a572',
    500: '#187f3a',
    950: '#000000',
  },
}
SCSS
$custom: #187f3a;
$custom-light: #68a572;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3a",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 58
  },
  "hsl": {
    "h": 139.806,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.13785,
    "h": 149.1
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#187F3A
secondary
#B33F8D
accent
#3DB2EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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