#187A36#187A36

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

Color values

HEX#187A36
RGBrgb(24, 122, 54)
HSLhsl(138, 67%, 29%)
HSVhsv(138, 80%, 48%)
CMYKcmyk(80.3%, 0%, 55.7%, 52.2%)
CIE-LABlab(44.77, -42.81, 29.34)
CIE-LCHlch(44.77, 51.90, 145.57°)
OKLaboklab(50.96% -0.115 0.0705)
OKLCHoklch(50.96% 0.135 148.5)
XYZxyz(8.0014, 14.3786, 5.8430)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A36 #7A185C
analogous
#2B7A18 #187A36 #187A67
triadic
#187A36 #36187A #7A3618
tetradic
#187A36 #182B7A #7A185C #7A6718
square
#187A36 #182B7A #7A185C #7A6718
split-complementary
#187A36 #67187A #7A182B
monochromatic
#051A0B #0E471F #187A36 #22AD4D #35D767

Accessibility & contrast

On white

5.42
#187A36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187A36
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A36#FFFFFF#000000##FFFFFF
##187A361.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a36;
/* rgb */ color: rgb(24, 122, 54);
/* oklch */ color: oklch(51.0% 0.135 148.5);
Tailwind
colors: {
  custom: {
    50: '#67a16f',
    500: '#187a36',
    950: '#000000',
  },
}
SCSS
$custom: #187a36;
$custom-light: #67a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#187a36",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 54
  },
  "hsl": {
    "h": 138.367,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.13491,
    "h": 148.5
  },
  "luminance": 0.1438
}

Semantic roles & 50–950 ramp

primary
#187A36
secondary
#AF3F8D
accent
#3EB5EA
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A36

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

Preview Lab → · Contrast checker → · Palette generator →

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