#187A26#187A26

#187A26 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.149 H 144.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#187A26
RGBrgb(24, 122, 38)
HSLhsl(129, 67%, 29%)
HSVhsv(129, 80%, 48%)
CMYKcmyk(80.3%, 0%, 68.9%, 52.2%)
CIE-LABlab(44.59, -44.96, 37.01)
CIE-LCHlch(44.59, 58.23, 140.54°)
OKLaboklab(50.75% -0.1214 0.0856)
OKLCHoklch(50.75% 0.149 144.8)
XYZxyz(7.6855, 14.2523, 4.1793)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A26 #7A186C
analogous
#3B7A18 #187A26 #187A57
triadic
#187A26 #26187A #7A2618
tetradic
#187A26 #183B7A #7A186C #7A5718
square
#187A26 #183B7A #7A186C #7A5718
split-complementary
#187A26 #57187A #7A183B
monochromatic
#051A08 #0E4716 #187A26 #22AD36 #35D74C

Accessibility & contrast

On white

5.45
#187A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A26
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A26#FFFFFF#000000##FFFFFF
##187A261.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1B
Deuteranopia (green-blind)
#71672E
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a26;
/* rgb */ color: rgb(24, 122, 38);
/* oklch */ color: oklch(50.8% 0.149 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a165',
    500: '#187a26',
    950: '#000000',
  },
}
SCSS
$custom: #187a26;
$custom-light: #68a165;
$custom-dark: #000000;
JSON
{
  "hex": "#187a26",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 128.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50753,
    "c": 0.14852,
    "h": 144.8
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#187A26
secondary
#AF3F9F
accent
#3ED1EA
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A26

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

Preview Lab → · Contrast checker → · Palette generator →

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