#187E19#187E19

#187E19 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.162 H 142.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187E19
RGBrgb(24, 126, 25)
HSLhsl(121, 68%, 29%)
HSVhsv(121, 81%, 49%)
CMYKcmyk(81%, 0%, 80.2%, 50.6%)
CIE-LABlab(45.89, -47.52, 43.55)
CIE-LCHlch(45.89, 64.45, 137.50°)
OKLaboklab(51.8% -0.1289 0.0976)
OKLCHoklch(51.8% 0.162 142.9)
XYZxyz(8.0125, 15.1851, 3.4283)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E19 #7E187D
analogous
#4A7E18 #187E19 #187E4C
triadic
#187E19 #19187E #7E1918
tetradic
#187E19 #184A7E #7E187D #7E4C18
square
#187E19 #184A7E #7E187D #7E4C18
split-complementary
#187E19 #4C187E #7E184A
monochromatic
#051A05 #0E4B0F #187E19 #22B123 #37D939

Accessibility & contrast

On white

5.20
#187E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E19
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E19#FFFFFF#000000##FFFFFF
##187E191.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e19;
/* rgb */ color: rgb(24, 126, 25);
/* oklch */ color: oklch(51.8% 0.162 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#187e19',
    950: '#000000',
  },
}
SCSS
$custom: #187e19;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#187e19",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 120.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.16168,
    "h": 142.9
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#187E19
secondary
#B23FB1
accent
#3DE9EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187E19

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

Preview Lab → · Contrast checker → · Palette generator →

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