#187F37#187F37

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

Color values

HEX#187F37
RGBrgb(24, 127, 55)
HSLhsl(138, 68%, 30%)
HSVhsv(138, 81%, 50%)
CMYKcmyk(81.1%, 0%, 56.7%, 50.2%)
CIE-LABlab(46.51, -44.49, 30.92)
CIE-LCHlch(46.51, 54.18, 145.20°)
OKLaboklab(52.4% -0.1195 0.074)
OKLCHoklch(52.4% 0.141 148.2)
XYZxyz(8.6550, 15.6477, 6.1779)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F37 #7F1860
analogous
#2D7F18 #187F37 #187F6B
triadic
#187F37 #37187F #7F3718
tetradic
#187F37 #182D7F #7F1860 #7F6B18
square
#187F37 #182D7F #7F1860 #7F6B18
split-complementary
#187F37 #6B187F #7F182D
monochromatic
#051A0B #0E4C21 #187F37 #22B24D #38D969

Accessibility & contrast

On white

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

On black

4.13
#187F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187F37#FFFFFF#000000##FFFFFF
##187F371.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807330
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f37;
/* rgb */ color: rgb(24, 127, 55);
/* oklch */ color: oklch(52.4% 0.141 148.2);
Tailwind
colors: {
  custom: {
    50: '#68a570',
    500: '#187f37',
    950: '#000000',
  },
}
SCSS
$custom: #187f37;
$custom-light: #68a570;
$custom-dark: #000000;
JSON
{
  "hex": "#187f37",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 138.058,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.14061,
    "h": 148.2
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#187F37
secondary
#B33F90
accent
#3DB7EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F37

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

Preview Lab → · Contrast checker → · Palette generator →

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