#187B26#187B26

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

Color values

HEX#187B26
RGBrgb(24, 123, 38)
HSLhsl(128, 67%, 29%)
HSVhsv(128, 80%, 48%)
CMYKcmyk(80.5%, 0%, 69.1%, 51.8%)
CIE-LABlab(44.94, -45.31, 37.38)
CIE-LCHlch(44.94, 58.74, 140.47°)
OKLaboklab(51.04% -0.1223 0.0864)
OKLCHoklch(51.04% 0.15 144.8)
XYZxyz(7.8090, 14.4991, 4.2204)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B26 #7B186D
analogous
#3C7B18 #187B26 #187B58
triadic
#187B26 #26187B #7B2618
tetradic
#187B26 #183C7B #7B186D #7B5818
square
#187B26 #183C7B #7B186D #7B5818
split-complementary
#187B26 #58187B #7B183C
monochromatic
#051A08 #0E4816 #187B26 #22AE36 #36D84D

Accessibility & contrast

On white

5.38
#187B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187B26
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B26#FFFFFF#000000##FFFFFF
##187B261.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1B
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187b26;
/* rgb */ color: rgb(24, 123, 38);
/* oklch */ color: oklch(51.0% 0.150 144.8);
Tailwind
colors: {
  custom: {
    50: '#68a265',
    500: '#187b26',
    950: '#000000',
  },
}
SCSS
$custom: #187b26;
$custom-light: #68a265;
$custom-dark: #000000;
JSON
{
  "hex": "#187b26",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 128.485,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.14975,
    "h": 144.8
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#187B26
secondary
#B03FA0
accent
#3ED2EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187B26

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

Preview Lab → · Contrast checker → · Palette generator →

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