#187B27#187B27

#187B27 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.149 H 145.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#187B27
RGBrgb(24, 123, 39)
HSLhsl(129, 67%, 29%)
HSVhsv(129, 80%, 48%)
CMYKcmyk(80.5%, 0%, 68.3%, 51.8%)
CIE-LABlab(44.95, -45.20, 36.94)
CIE-LCHlch(44.95, 58.38, 140.74°)
OKLaboklab(51.05% -0.122 0.0856)
OKLCHoklch(51.05% 0.149 145)
XYZxyz(7.8253, 14.5057, 4.3065)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B27 #7B186C
analogous
#3B7B18 #187B27 #187B59
triadic
#187B27 #27187B #7B2718
tetradic
#187B27 #183B7B #7B186C #7B5918
square
#187B27 #183B7B #7B186C #7B5918
split-complementary
#187B27 #59187B #7B183B
monochromatic
#051A08 #0E4817 #187B27 #22AE37 #36D84E

Accessibility & contrast

On white

5.38
#187B27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187B27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B27
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B27#FFFFFF#000000##FFFFFF
##187B271.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b27;
/* rgb */ color: rgb(24, 123, 39);
/* oklch */ color: oklch(51.1% 0.149 145.0);
Tailwind
colors: {
  custom: {
    50: '#68a265',
    500: '#187b27',
    950: '#000000',
  },
}
SCSS
$custom: #187b27;
$custom-light: #68a265;
$custom-dark: #000000;
JSON
{
  "hex": "#187b27",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 39
  },
  "hsl": {
    "h": 129.091,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.149,
    "h": 145
  },
  "luminance": 0.14507
}

Semantic roles & 50–950 ramp

primary
#187B27
secondary
#B03F9F
accent
#3ED0EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B27

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

Preview Lab → · Contrast checker → · Palette generator →

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