#187C26#187C26

#187C26 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.151 H 144.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#187C26
RGBrgb(24, 124, 38)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(80.6%, 0%, 69.4%, 51.4%)
CIE-LABlab(45.29, -45.66, 37.76)
CIE-LCHlch(45.29, 59.25, 140.41°)
OKLaboklab(51.33% -0.1233 0.0872)
OKLCHoklch(51.33% 0.151 144.7)
XYZxyz(7.9336, 14.7485, 4.2620)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C26 #7C186E
analogous
#3C7C18 #187C26 #187C58
triadic
#187C26 #26187C #7C2618
tetradic
#187C26 #183C7C #7C186E #7C5818
square
#187C26 #183C7C #7C186E #7C5818
split-complementary
#187C26 #58187C #7C183C
monochromatic
#051A08 #0E4916 #187C26 #22AF36 #36D84D

Accessibility & contrast

On white

5.32
#187C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C26
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C26#FFFFFF#000000##FFFFFF
##187C261.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#73682E
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c26;
/* rgb */ color: rgb(24, 124, 38);
/* oklch */ color: oklch(51.3% 0.151 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a365',
    500: '#187c26',
    950: '#000000',
  },
}
SCSS
$custom: #187c26;
$custom-light: #68a365;
$custom-dark: #000000;
JSON
{
  "hex": "#187c26",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 38
  },
  "hsl": {
    "h": 128.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.15099,
    "h": 144.7
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#187C26
secondary
#B13FA1
accent
#3DD2EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C26

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

Preview Lab → · Contrast checker → · Palette generator →

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