#187C31#187C31

#187C31 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.142 H 147.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#187C31
RGBrgb(24, 124, 49)
HSLhsl(135, 68%, 29%)
HSVhsv(135, 81%, 49%)
CMYKcmyk(80.6%, 0%, 60.5%, 51.4%)
CIE-LABlab(45.40, -44.28, 32.66)
CIE-LCHlch(45.40, 55.02, 143.59°)
OKLaboklab(51.46% -0.1191 0.0774)
OKLCHoklch(51.46% 0.142 147)
XYZxyz(8.1381, 14.8303, 5.3388)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C31 #7C1863
analogous
#317C18 #187C31 #187C63
triadic
#187C31 #31187C #7C3118
tetradic
#187C31 #18317C #7C1863 #7C6318
square
#187C31 #18317C #7C1863 #7C6318
split-complementary
#187C31 #63187C #7C1831
monochromatic
#051A0A #0E491D #187C31 #22AF45 #36D85F

Accessibility & contrast

On white

5.29
#187C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#187C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C31
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C31#FFFFFF#000000##FFFFFF
##187C311.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c31;
/* rgb */ color: rgb(24, 124, 49);
/* oklch */ color: oklch(51.5% 0.142 147.0);
Tailwind
colors: {
  custom: {
    50: '#68a36c',
    500: '#187c31',
    950: '#000000',
  },
}
SCSS
$custom: #187c31;
$custom-light: #68a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#187c31",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 135,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.14206,
    "h": 147
  },
  "luminance": 0.14831
}

Semantic roles & 50–950 ramp

primary
#187C31
secondary
#B13F94
accent
#3DBFEA
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187C31

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

Preview Lab → · Contrast checker → · Palette generator →

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