#187B24#187B24

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

Color values

HEX#187B24
RGBrgb(24, 123, 36)
HSLhsl(127, 67%, 29%)
HSVhsv(127, 80%, 48%)
CMYKcmyk(80.5%, 0%, 70.7%, 51.8%)
CIE-LABlab(44.92, -45.53, 38.25)
CIE-LCHlch(44.92, 59.46, 139.96°)
OKLaboklab(51.02% -0.123 0.088)
OKLCHoklch(51.02% 0.151 144.4)
XYZxyz(7.7776, 14.4866, 4.0550)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B24 #7B186F
analogous
#3E7B18 #187B24 #187B56
triadic
#187B24 #24187B #7B2418
tetradic
#187B24 #183E7B #7B186F #7B5618
square
#187B24 #183E7B #7B186F #7B5618
split-complementary
#187B24 #56187B #7B183E
monochromatic
#051A07 #0E4815 #187B24 #22AE33 #36D849

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B24#FFFFFF#000000##FFFFFF
##187B241.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)
#7D6F18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b24;
/* rgb */ color: rgb(24, 123, 36);
/* oklch */ color: oklch(51.0% 0.151 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a263',
    500: '#187b24',
    950: '#000000',
  },
}
SCSS
$custom: #187b24;
$custom-light: #68a263;
$custom-dark: #000000;
JSON
{
  "hex": "#187b24",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 127.273,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51022,
    "c": 0.15122,
    "h": 144.4
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#187B24
secondary
#B03FA2
accent
#3ED5EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #187B24

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

Preview Lab → · Contrast checker → · Palette generator →

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