#187D2B#187D2B

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

Color values

HEX#187D2B
RGBrgb(24, 125, 43)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(80.8%, 0%, 65.6%, 51%)
CIE-LABlab(45.68, -45.42, 35.90)
CIE-LCHlch(45.68, 57.90, 141.68°)
OKLaboklab(51.67% -0.1224 0.0838)
OKLCHoklch(51.67% 0.148 145.6)
XYZxyz(8.1458, 15.0349, 4.7577)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2B #7D186A
analogous
#387D18 #187D2B #187D5E
triadic
#187D2B #2B187D #7D2B18
tetradic
#187D2B #18387D #7D186A #7D5E18
square
#187D2B #18387D #7D186A #7D5E18
split-complementary
#187D2B #5E187D #7D1838
monochromatic
#051A09 #0E4A19 #187D2B #22B03D #37D955

Accessibility & contrast

On white

5.24
#187D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2B#FFFFFF#000000##FFFFFF
##187D2B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7121
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2b;
/* rgb */ color: rgb(24, 125, 43);
/* oklch */ color: oklch(51.7% 0.148 145.6);
Tailwind
colors: {
  custom: {
    50: '#68a468',
    500: '#187d2b',
    950: '#000000',
  },
}
SCSS
$custom: #187d2b;
$custom-light: #68a468;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2b",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 131.287,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.14836,
    "h": 145.6
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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