#187A39#187A39

#187A39 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.132 H 149.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#187A39
RGBrgb(24, 122, 57)
HSLhsl(140, 67%, 29%)
HSVhsv(140, 80%, 48%)
CMYKcmyk(80.3%, 0%, 53.3%, 52.2%)
CIE-LABlab(44.81, -42.32, 27.80)
CIE-LCHlch(44.81, 50.64, 146.70°)
OKLaboklab(51.01% -0.1137 0.0672)
OKLCHoklch(51.01% 0.132 149.4)
XYZxyz(8.0741, 14.4077, 6.2255)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A39 #7A1859
analogous
#287A18 #187A39 #187A6A
triadic
#187A39 #39187A #7A3918
tetradic
#187A39 #18287A #7A1859 #7A6A18
square
#187A39 #18287A #7A1859 #7A6A18
split-complementary
#187A39 #6A187A #7A1828
monochromatic
#051A0C #0E4721 #187A39 #22AD51 #35D76C

Accessibility & contrast

On white

5.41
#187A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#187A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A39
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A39#FFFFFF#000000##FFFFFF
##187A391.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F33
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a39;
/* rgb */ color: rgb(24, 122, 57);
/* oklch */ color: oklch(51.0% 0.132 149.4);
Tailwind
colors: {
  custom: {
    50: '#67a171',
    500: '#187a39',
    950: '#000000',
  },
}
SCSS
$custom: #187a39;
$custom-light: #67a171;
$custom-dark: #000000;
JSON
{
  "hex": "#187a39",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 140.204,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.13209,
    "h": 149.4
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#187A39
secondary
#AF3F89
accent
#3EB0EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A39

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

Preview Lab → · Contrast checker → · Palette generator →

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