#187F3F#187F3F

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

Color values

HEX#187F3F
RGBrgb(24, 127, 63)
HSLhsl(143, 68%, 30%)
HSVhsv(143, 81%, 50%)
CMYKcmyk(81.1%, 0%, 50.4%, 50.2%)
CIE-LABlab(46.62, -43.18, 26.82)
CIE-LCHlch(46.62, 50.83, 148.15°)
OKLaboklab(52.53% -0.116 0.0654)
OKLCHoklch(52.53% 0.133 150.6)
XYZxyz(8.8625, 15.7307, 7.2709)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F3F #7F1858
analogous
#257F18 #187F3F #187F72
triadic
#187F3F #3F187F #7F3F18
tetradic
#187F3F #18257F #7F1858 #7F7218
square
#187F3F #18257F #7F1858 #7F7218
split-complementary
#187F3F #72187F #7F1825
monochromatic
#051A0D #0E4C25 #187F3F #22B259 #38D975

Accessibility & contrast

On white

5.06
#187F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#187F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F3F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F3F#FFFFFF#000000##FFFFFF
##187F3F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80733A
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f3f;
/* rgb */ color: rgb(24, 127, 63);
/* oklch */ color: oklch(52.5% 0.133 150.6);
Tailwind
colors: {
  custom: {
    50: '#68a575',
    500: '#187f3f',
    950: '#000000',
  },
}
SCSS
$custom: #187f3f;
$custom-light: #68a575;
$custom-dark: #000000;
JSON
{
  "hex": "#187f3f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 142.718,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.13312,
    "h": 150.6
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#187F3F
secondary
#B33F87
accent
#3DA9EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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