#187A3E#187A3E

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

Color values

HEX#187A3E
RGBrgb(24, 122, 62)
HSLhsl(143, 67%, 29%)
HSVhsv(143, 80%, 48%)
CMYKcmyk(80.3%, 0%, 49.2%, 52.2%)
CIE-LABlab(44.89, -41.46, 25.18)
CIE-LCHlch(44.89, 48.51, 148.73°)
OKLaboklab(51.09% -0.1114 0.0616)
OKLCHoklch(51.09% 0.127 151.1)
XYZxyz(8.2050, 14.4601, 6.9151)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A3E #7A1854
analogous
#237A18 #187A3E #187A6F
triadic
#187A3E #3E187A #7A3E18
tetradic
#187A3E #18237A #7A1854 #7A6F18
square
#187A3E #18237A #7A1854 #7A6F18
split-complementary
#187A3E #6F187A #7A1823
monochromatic
#051A0D #0E4724 #187A3E #22AD58 #35D774

Accessibility & contrast

On white

5.40
#187A3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A3E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A3E#FFFFFF#000000##FFFFFF
##187A3E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a3e;
/* rgb */ color: rgb(24, 122, 62);
/* oklch */ color: oklch(51.1% 0.127 151.1);
Tailwind
colors: {
  custom: {
    50: '#67a174',
    500: '#187a3e',
    950: '#000000',
  },
}
SCSS
$custom: #187a3e;
$custom-light: #67a174;
$custom-dark: #000000;
JSON
{
  "hex": "#187a3e",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 62
  },
  "hsl": {
    "h": 143.265,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.12727,
    "h": 151.1
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#187A3E
secondary
#AF3F83
accent
#3EA7EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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