#187A2E#187A2E

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

Color values

HEX#187A2E
RGBrgb(24, 122, 46)
HSLhsl(133, 67%, 29%)
HSVhsv(133, 80%, 48%)
CMYKcmyk(80.3%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.67, -43.98, 33.31)
CIE-LCHlch(44.67, 55.17, 142.86°)
OKLaboklab(50.85% -0.1184 0.0785)
OKLCHoklch(50.85% 0.142 146.4)
XYZxyz(7.8288, 14.3096, 4.9337)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A2E #7A1864
analogous
#337A18 #187A2E #187A5F
triadic
#187A2E #2E187A #7A2E18
tetradic
#187A2E #18337A #7A1864 #7A5F18
square
#187A2E #18337A #7A1864 #7A5F18
split-complementary
#187A2E #5F187A #7A1833
monochromatic
#051A0A #0E471B #187A2E #22AD41 #35D75A

Accessibility & contrast

On white

5.44
#187A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#187A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A2E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A2E#FFFFFF#000000##FFFFFF
##187A2E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a2e;
/* rgb */ color: rgb(24, 122, 46);
/* oklch */ color: oklch(50.8% 0.142 146.4);
Tailwind
colors: {
  custom: {
    50: '#67a169',
    500: '#187a2e',
    950: '#000000',
  },
}
SCSS
$custom: #187a2e;
$custom-light: #67a169;
$custom-dark: #000000;
JSON
{
  "hex": "#187a2e",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 133.469,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.14207,
    "h": 146.4
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#187A2E
secondary
#AF3F96
accent
#3EC3EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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