#187E2B#187E2B

#187E2B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.150 H 145.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187E2B
RGBrgb(24, 126, 43)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(81%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.03, -45.77, 36.29)
CIE-LCHlch(46.03, 58.42, 141.59°)
OKLaboklab(51.96% -0.1234 0.0846)
OKLCHoklch(51.96% 0.15 145.6)
XYZxyz(8.2730, 15.2893, 4.8002)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E2B #7E186B
analogous
#387E18 #187E2B #187E5E
triadic
#187E2B #2B187E #7E2B18
tetradic
#187E2B #18387E #7E186B #7E5E18
square
#187E2B #18387E #7E186B #7E5E18
split-complementary
#187E2B #5E187E #7E1838
monochromatic
#051A09 #0E4B19 #187E2B #22B13D #37D956

Accessibility & contrast

On white

5.17
#187E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E2B#FFFFFF#000000##FFFFFF
##187E2B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e2b;
/* rgb */ color: rgb(24, 126, 43);
/* oklch */ color: oklch(52.0% 0.150 145.6);
Tailwind
colors: {
  custom: {
    50: '#68a468',
    500: '#187e2b',
    950: '#000000',
  },
}
SCSS
$custom: #187e2b;
$custom-light: #68a468;
$custom-dark: #000000;
JSON
{
  "hex": "#187e2b",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 131.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5196,
    "c": 0.14962,
    "h": 145.6
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#187E2B
secondary
#B23F9D
accent
#3DCAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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