#187D26#187D26

#187D26 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.152 H 144.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#187D26
RGBrgb(24, 125, 38)
HSLhsl(128, 68%, 29%)
HSVhsv(128, 81%, 49%)
CMYKcmyk(80.8%, 0%, 69.6%, 51%)
CIE-LABlab(45.63, -46.00, 38.14)
CIE-LCHlch(45.63, 59.76, 140.34°)
OKLaboklab(51.62% -0.1242 0.088)
OKLCHoklch(51.62% 0.152 144.7)
XYZxyz(8.0596, 15.0004, 4.3039)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D26 #7D186F
analogous
#3D7D18 #187D26 #187D59
triadic
#187D26 #26187D #7D2618
tetradic
#187D26 #183D7D #7D186F #7D5918
square
#187D26 #183D7D #7D186F #7D5918
split-complementary
#187D26 #59187D #7D183D
monochromatic
#051A08 #0E4A16 #187D26 #22B036 #37D94D

Accessibility & contrast

On white

5.25
#187D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#187D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D26
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D26#FFFFFF#000000##FFFFFF
##187D261.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711A
Deuteranopia (green-blind)
#74692E
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d26;
/* rgb */ color: rgb(24, 125, 38);
/* oklch */ color: oklch(51.6% 0.152 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a465',
    500: '#187d26',
    950: '#000000',
  },
}
SCSS
$custom: #187d26;
$custom-light: #68a465;
$custom-dark: #000000;
JSON
{
  "hex": "#187d26",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 38
  },
  "hsl": {
    "h": 128.317,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.1522,
    "h": 144.7
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187D26

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

Preview Lab → · Contrast checker → · Palette generator →

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