#187B45#187B45

#187B45 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.122 H 153.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187B45
RGBrgb(24, 123, 69)
HSLhsl(147, 67%, 29%)
HSVhsv(147, 80%, 48%)
CMYKcmyk(80.5%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.34, -40.53, 21.88)
CIE-LCHlch(45.34, 46.06, 151.64°)
OKLaboklab(51.51% -0.109 0.0542)
OKLCHoklch(51.51% 0.122 153.6)
XYZxyz(8.5330, 14.7888, 8.0339)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B45 #7B184E
analogous
#1C7B18 #187B45 #187B77
triadic
#187B45 #45187B #7B4518
tetradic
#187B45 #181C7B #7B184E #7B7718
square
#187B45 #181C7B #7B184E #7B7718
split-complementary
#187B45 #77187B #7B181C
monochromatic
#051A0E #0E4828 #187B45 #22AE62 #36D87F

Accessibility & contrast

On white

5.31
#187B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#187B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B45
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B45#FFFFFF#000000##FFFFFF
##187B451.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b45;
/* rgb */ color: rgb(24, 123, 69);
/* oklch */ color: oklch(51.5% 0.122 153.6);
Tailwind
colors: {
  custom: {
    50: '#67a279',
    500: '#187b45',
    950: '#000000',
  },
}
SCSS
$custom: #187b45;
$custom-light: #67a279;
$custom-dark: #000000;
JSON
{
  "hex": "#187b45",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 147.273,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.12177,
    "h": 153.6
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#187B45
secondary
#B03F7D
accent
#3E9CEA
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187B45

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

Preview Lab → · Contrast checker → · Palette generator →

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