#187E26#187E26

#187E26 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.153 H 144.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187E26
RGBrgb(24, 126, 38)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(81%, 0%, 69.8%, 50.6%)
CIE-LABlab(45.98, -46.35, 38.51)
CIE-LCHlch(45.98, 60.26, 140.27°)
OKLaboklab(51.91% -0.1251 0.0888)
OKLCHoklch(51.91% 0.153 144.6)
XYZxyz(8.1868, 15.2549, 4.3464)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E26 #7E1870
analogous
#3D7E18 #187E26 #187E59
triadic
#187E26 #26187E #7E2618
tetradic
#187E26 #183D7E #7E1870 #7E5918
square
#187E26 #183D7E #7E1870 #7E5918
split-complementary
#187E26 #59187E #7E183D
monochromatic
#051A08 #0E4B16 #187E26 #22B136 #37D94E

Accessibility & contrast

On white

5.18
#187E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E26
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E26#FFFFFF#000000##FFFFFF
##187E261.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721A
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e26;
/* rgb */ color: rgb(24, 126, 38);
/* oklch */ color: oklch(51.9% 0.153 144.6);
Tailwind
colors: {
  custom: {
    50: '#69a465',
    500: '#187e26',
    950: '#000000',
  },
}
SCSS
$custom: #187e26;
$custom-light: #69a465;
$custom-dark: #000000;
JSON
{
  "hex": "#187e26",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 128.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.15343,
    "h": 144.6
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#187E26
secondary
#B23FA3
accent
#3DD3EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E26

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

Preview Lab → · Contrast checker → · Palette generator →

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