#187B30#187B30

#187B30 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.142 H 146.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#187B30
RGBrgb(24, 123, 48)
HSLhsl(135, 67%, 29%)
HSVhsv(135, 80%, 48%)
CMYKcmyk(80.5%, 0%, 61%, 51.8%)
CIE-LABlab(45.04, -44.06, 32.74)
CIE-LCHlch(45.04, 54.90, 143.38°)
OKLaboklab(51.16% -0.1186 0.0775)
OKLCHoklch(51.16% 0.142 146.8)
XYZxyz(7.9925, 14.5726, 5.1873)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B30 #7B1863
analogous
#327B18 #187B30 #187B62
triadic
#187B30 #30187B #7B3018
tetradic
#187B30 #18327B #7B1863 #7B6218
square
#187B30 #18327B #7B1863 #7B6218
split-complementary
#187B30 #62187B #7B1832
monochromatic
#051A0A #0E481C #187B30 #22AE44 #36D85D

Accessibility & contrast

On white

5.36
#187B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#187B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B30
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B30#FFFFFF#000000##FFFFFF
##187B301.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F28
Deuteranopia (green-blind)
#726836
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187b30;
/* rgb */ color: rgb(24, 123, 48);
/* oklch */ color: oklch(51.2% 0.142 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a26b',
    500: '#187b30',
    950: '#000000',
  },
}
SCSS
$custom: #187b30;
$custom-light: #67a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#187b30",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 48
  },
  "hsl": {
    "h": 134.545,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.14164,
    "h": 146.8
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#187B30
secondary
#B03F94
accent
#3EC0EA
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187B30

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

Preview Lab → · Contrast checker → · Palette generator →

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