#187A30#187A30

#187A30 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.140 H 146.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#187A30
RGBrgb(24, 122, 48)
HSLhsl(135, 67%, 29%)
HSVhsv(135, 80%, 48%)
CMYKcmyk(80.3%, 0%, 60.7%, 52.2%)
CIE-LABlab(44.70, -43.70, 32.34)
CIE-LCHlch(44.70, 54.37, 143.50°)
OKLaboklab(50.87% -0.1176 0.0766)
OKLCHoklch(50.87% 0.14 146.9)
XYZxyz(7.8691, 14.3257, 5.1461)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A30 #7A1862
analogous
#317A18 #187A30 #187A61
triadic
#187A30 #30187A #7A3018
tetradic
#187A30 #18317A #7A1862 #7A6118
square
#187A30 #18317A #7A1862 #7A6118
split-complementary
#187A30 #61187A #7A1831
monochromatic
#051A0A #0E471C #187A30 #22AD44 #35D75D

Accessibility & contrast

On white

5.43
#187A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#187A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A30
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A30#FFFFFF#000000##FFFFFF
##187A301.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187a30;
/* rgb */ color: rgb(24, 122, 48);
/* oklch */ color: oklch(50.9% 0.140 146.9);
Tailwind
colors: {
  custom: {
    50: '#67a16b',
    500: '#187a30',
    950: '#000000',
  },
}
SCSS
$custom: #187a30;
$custom-light: #67a16b;
$custom-dark: #000000;
JSON
{
  "hex": "#187a30",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 134.694,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.14034,
    "h": 146.9
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#187A30
secondary
#AF3F93
accent
#3EC0EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187A30

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

Preview Lab → · Contrast checker → · Palette generator →

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