#187C1B#187C1B

#187C1B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.2% C 0.158 H 143.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#187C1B
RGBrgb(24, 124, 27)
HSLhsl(122, 68%, 29%)
HSVhsv(122, 81%, 49%)
CMYKcmyk(80.6%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.20, -46.70, 42.17)
CIE-LCHlch(45.20, 62.92, 137.92°)
OKLaboklab(51.23% -0.1266 0.095)
OKLCHoklch(51.23% 0.158 143.1)
XYZxyz(7.7817, 14.6877, 3.4616)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C1B #7C1879
analogous
#477C18 #187C1B #187C4D
triadic
#187C1B #1B187C #7C1B18
tetradic
#187C1B #18477C #7C1879 #7C4D18
square
#187C1B #18477C #7C1879 #7C4D18
split-complementary
#187C1B #4D187C #7C1847
monochromatic
#051A06 #0E4910 #187C1B #22AF26 #36D83B

Accessibility & contrast

On white

5.33
#187C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C1B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C1B#FFFFFF#000000##FFFFFF
##187C1B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c1b;
/* rgb */ color: rgb(24, 124, 27);
/* oklch */ color: oklch(51.2% 0.158 143.1);
Tailwind
colors: {
  custom: {
    50: '#69a35f',
    500: '#187c1b',
    950: '#000000',
  },
}
SCSS
$custom: #187c1b;
$custom-light: #69a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#187c1b",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 121.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.15826,
    "h": 143.1
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#187C1B
secondary
#B13FAD
accent
#3DE5EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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