#187A38#187A38

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

Color values

HEX#187A38
RGBrgb(24, 122, 56)
HSLhsl(140, 67%, 29%)
HSVhsv(140, 80%, 48%)
CMYKcmyk(80.3%, 0%, 54.1%, 52.2%)
CIE-LABlab(44.80, -42.49, 28.32)
CIE-LCHlch(44.80, 51.06, 146.32°)
OKLaboklab(50.99% -0.1141 0.0683)
OKLCHoklch(50.99% 0.133 149.1)
XYZxyz(8.0494, 14.3978, 6.0954)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A38 #7A185A
analogous
#297A18 #187A38 #187A69
triadic
#187A38 #38187A #7A3818
tetradic
#187A38 #18297A #7A185A #7A6918
square
#187A38 #18297A #7A185A #7A6918
split-complementary
#187A38 #69187A #7A1829
monochromatic
#051A0C #0E4721 #187A38 #22AD4F #35D76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187A38#FFFFFF#000000##FFFFFF
##187A381.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)
#7B6F32
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a38;
/* rgb */ color: rgb(24, 122, 56);
/* oklch */ color: oklch(51.0% 0.133 149.1);
Tailwind
colors: {
  custom: {
    50: '#67a170',
    500: '#187a38',
    950: '#000000',
  },
}
SCSS
$custom: #187a38;
$custom-light: #67a170;
$custom-dark: #000000;
JSON
{
  "hex": "#187a38",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 139.592,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5099,
    "c": 0.13304,
    "h": 149.1
  },
  "luminance": 0.14399
}

Semantic roles & 50–950 ramp

primary
#187A38
secondary
#AF3F8A
accent
#3EB2EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A38

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

Preview Lab → · Contrast checker → · Palette generator →

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