#187E27#187E27

#187E27 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.153 H 144.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187E27
RGBrgb(24, 126, 39)
HSLhsl(129, 68%, 29%)
HSVhsv(129, 81%, 49%)
CMYKcmyk(81%, 0%, 69%, 50.6%)
CIE-LABlab(45.99, -46.24, 38.08)
CIE-LCHlch(45.99, 59.90, 140.53°)
OKLaboklab(51.92% -0.1248 0.088)
OKLCHoklch(51.92% 0.153 144.8)
XYZxyz(8.2032, 15.2614, 4.4325)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E27 #7E186F
analogous
#3C7E18 #187E27 #187E5A
triadic
#187E27 #27187E #7E2718
tetradic
#187E27 #183C7E #7E186F #7E5A18
square
#187E27 #183C7E #7E186F #7E5A18
split-complementary
#187E27 #5A187E #7E183C
monochromatic
#051A08 #0E4B17 #187E27 #22B137 #37D94F

Accessibility & contrast

On white

5.18
#187E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E27#FFFFFF#000000##FFFFFF
##187E271.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721B
Deuteranopia (green-blind)
#756A2F
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e27;
/* rgb */ color: rgb(24, 126, 39);
/* oklch */ color: oklch(51.9% 0.153 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a466',
    500: '#187e27',
    950: '#000000',
  },
}
SCSS
$custom: #187e27;
$custom-light: #69a466;
$custom-dark: #000000;
JSON
{
  "hex": "#187e27",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 128.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.15269,
    "h": 144.8
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#187E27
secondary
#B23FA2
accent
#3DD1EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E27

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

Preview Lab → · Contrast checker → · Palette generator →

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