#187B3E#187B3E

#187B3E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.129 H 150.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#187B3E
RGBrgb(24, 123, 62)
HSLhsl(143, 67%, 29%)
HSVhsv(143, 80%, 48%)
CMYKcmyk(80.5%, 0%, 49.6%, 51.8%)
CIE-LABlab(45.23, -41.84, 25.62)
CIE-LCHlch(45.23, 49.06, 148.52°)
OKLaboklab(51.38% -0.1124 0.0626)
OKLCHoklch(51.38% 0.129 150.9)
XYZxyz(8.3284, 14.7069, 6.9563)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B3E #7B1855
analogous
#247B18 #187B3E #187B70
triadic
#187B3E #3E187B #7B3E18
tetradic
#187B3E #18247B #7B1855 #7B7018
square
#187B3E #18247B #7B1855 #7B7018
split-complementary
#187B3E #70187B #7B1824
monochromatic
#051A0D #0E4824 #187B3E #22AE58 #36D874

Accessibility & contrast

On white

5.33
#187B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B3E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B3E#FFFFFF#000000##FFFFFF
##187B3E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7039
Deuteranopia (green-blind)
#706842
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b3e;
/* rgb */ color: rgb(24, 123, 62);
/* oklch */ color: oklch(51.4% 0.129 150.9);
Tailwind
colors: {
  custom: {
    50: '#67a274',
    500: '#187b3e',
    950: '#000000',
  },
}
SCSS
$custom: #187b3e;
$custom-light: #67a274;
$custom-dark: #000000;
JSON
{
  "hex": "#187b3e",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 143.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.12865,
    "h": 150.9
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#187B3E
secondary
#B03F84
accent
#3EA8EA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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