#187F2B#187F2B

#187F2B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.151 H 145.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#187F2B
RGBrgb(24, 127, 43)
HSLhsl(131, 68%, 30%)
HSVhsv(131, 81%, 50%)
CMYKcmyk(81.1%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.37, -46.12, 36.68)
CIE-LCHlch(46.37, 58.93, 141.51°)
OKLaboklab(52.25% -0.1243 0.0855)
OKLCHoklch(52.25% 0.151 145.5)
XYZxyz(8.4015, 15.5463, 4.8430)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F2B #7F186C
analogous
#397F18 #187F2B #187F5F
triadic
#187F2B #2B187F #7F2B18
tetradic
#187F2B #18397F #7F186C #7F5F18
square
#187F2B #18397F #7F186C #7F5F18
split-complementary
#187F2B #5F187F #7F1839
monochromatic
#051A09 #0E4C1A #187F2B #22B23C #38D956

Accessibility & contrast

On white

5.11
#187F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#187F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F2B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F2B#FFFFFF#000000##FFFFFF
##187F2B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f2b;
/* rgb */ color: rgb(24, 127, 43);
/* oklch */ color: oklch(52.2% 0.151 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a568',
    500: '#187f2b',
    950: '#000000',
  },
}
SCSS
$custom: #187f2b;
$custom-light: #69a568;
$custom-dark: #000000;
JSON
{
  "hex": "#187f2b",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 131.068,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.15085,
    "h": 145.5
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#187F2B
secondary
#B33F9E
accent
#3DCBEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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