#187A41#187A41

#187A41 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.124 H 152.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#187A41
RGBrgb(24, 122, 65)
HSLhsl(145, 67%, 29%)
HSVhsv(145, 80%, 48%)
CMYKcmyk(80.3%, 0%, 46.7%, 52.2%)
CIE-LABlab(44.93, -40.91, 23.58)
CIE-LCHlch(44.93, 47.22, 150.04°)
OKLaboklab(51.15% -0.11 0.058)
OKLCHoklch(51.15% 0.124 152.2)
XYZxyz(8.2896, 14.4939, 7.3607)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A41 #7A1851
analogous
#207A18 #187A41 #187A72
triadic
#187A41 #41187A #7A4118
tetradic
#187A41 #18207A #7A1851 #7A7218
square
#187A41 #18207A #7A1851 #7A7218
split-complementary
#187A41 #72187A #7A1820
monochromatic
#051A0E #0E4726 #187A41 #22AD5C #35D779

Accessibility & contrast

On white

5.39
#187A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A41
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A41#FFFFFF#000000##FFFFFF
##187A411.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a41;
/* rgb */ color: rgb(24, 122, 65);
/* oklch */ color: oklch(51.1% 0.124 152.2);
Tailwind
colors: {
  custom: {
    50: '#66a176',
    500: '#187a41',
    950: '#000000',
  },
}
SCSS
$custom: #187a41;
$custom-light: #66a176;
$custom-dark: #000000;
JSON
{
  "hex": "#187a41",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 145.102,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.12433,
    "h": 152.2
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#187A41
secondary
#AF3F80
accent
#3EA2EA
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187A41

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

Preview Lab → · Contrast checker → · Palette generator →

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