#187C1E#187C1E

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

Color values

HEX#187C1E
RGBrgb(24, 124, 30)
HSLhsl(124, 68%, 29%)
HSVhsv(124, 81%, 49%)
CMYKcmyk(80.6%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.22, -46.45, 41.05)
CIE-LCHlch(45.22, 61.98, 138.53°)
OKLaboklab(51.26% -0.1258 0.093)
OKLCHoklch(51.26% 0.156 143.5)
XYZxyz(7.8182, 14.7023, 3.6538)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C1E #7C1876
analogous
#447C18 #187C1E #187C50
triadic
#187C1E #1E187C #7C1E18
tetradic
#187C1E #18447C #7C1876 #7C5018
square
#187C1E #18447C #7C1876 #7C5018
split-complementary
#187C1E #50187C #7C1844
monochromatic
#051A06 #0E4912 #187C1E #22AF2A #36D840

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187C1E#FFFFFF#000000##FFFFFF
##187C1E1.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)
#7F700D
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c1e;
/* rgb */ color: rgb(24, 124, 30);
/* oklch */ color: oklch(51.3% 0.156 143.5);
Tailwind
colors: {
  custom: {
    50: '#69a360',
    500: '#187c1e',
    950: '#000000',
  },
}
SCSS
$custom: #187c1e;
$custom-light: #69a360;
$custom-dark: #000000;
JSON
{
  "hex": "#187c1e",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 123.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.15646,
    "h": 143.5
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#187C1E
secondary
#B13FAA
accent
#3DE0EA
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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