#187F3D#187F3D

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

Color values

HEX#187F3D
RGBrgb(24, 127, 61)
HSLhsl(142, 68%, 30%)
HSVhsv(142, 81%, 50%)
CMYKcmyk(81.1%, 0%, 52%, 50.2%)
CIE-LABlab(46.59, -43.52, 27.86)
CIE-LCHlch(46.59, 51.68, 147.37°)
OKLaboklab(52.5% -0.1169 0.0676)
OKLCHoklch(52.5% 0.135 150)
XYZxyz(8.8076, 15.7088, 6.9819)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3D #7F185A
analogous
#277F18 #187F3D #187F70
triadic
#187F3D #3D187F #7F3D18
tetradic
#187F3D #18277F #7F185A #7F7018
square
#187F3D #18277F #7F185A #7F7018
split-complementary
#187F3D #70187F #7F1827
monochromatic
#051A0C #0E4C24 #187F3D #22B256 #38D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F3D#FFFFFF#000000##FFFFFF
##187F3D1.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)
#807337
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3d;
/* rgb */ color: rgb(24, 127, 61);
/* oklch */ color: oklch(52.5% 0.135 150.0);
Tailwind
colors: {
  custom: {
    50: '#68a574',
    500: '#187f3d',
    950: '#000000',
  },
}
SCSS
$custom: #187f3d;
$custom-light: #68a574;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3d",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 61
  },
  "hsl": {
    "h": 141.553,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.13502,
    "h": 150
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#187F3D
secondary
#B33F8A
accent
#3DACEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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