#187B2E#187B2E

#187B2E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.143 H 146.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#187B2E
RGBrgb(24, 123, 46)
HSLhsl(133, 67%, 29%)
HSVhsv(133, 80%, 48%)
CMYKcmyk(80.5%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.02, -44.33, 33.71)
CIE-LCHlch(45.02, 55.69, 142.75°)
OKLaboklab(51.13% -0.1194 0.0794)
OKLCHoklch(51.13% 0.143 146.4)
XYZxyz(7.9522, 14.5564, 4.9748)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B2E #7B1865
analogous
#347B18 #187B2E #187B60
triadic
#187B2E #2E187B #7B2E18
tetradic
#187B2E #18347B #7B1865 #7B6018
square
#187B2E #18347B #7B1865 #7B6018
split-complementary
#187B2E #60187B #7B1834
monochromatic
#051A0A #0E481B #187B2E #22AE41 #36D85A

Accessibility & contrast

On white

5.37
#187B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B2E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B2E#FFFFFF#000000##FFFFFF
##187B2E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b2e;
/* rgb */ color: rgb(24, 123, 46);
/* oklch */ color: oklch(51.1% 0.143 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a269',
    500: '#187b2e',
    950: '#000000',
  },
}
SCSS
$custom: #187b2e;
$custom-light: #67a269;
$custom-dark: #000000;
JSON
{
  "hex": "#187b2e",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 133.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51134,
    "c": 0.14335,
    "h": 146.4
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#187B2E
secondary
#B03F97
accent
#3EC4EA
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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