#187E13#187E13

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

Color values

HEX#187E13
RGBrgb(24, 126, 19)
HSLhsl(117, 74%, 28%)
HSVhsv(117, 85%, 49%)
CMYKcmyk(81%, 0%, 84.9%, 50.6%)
CIE-LABlab(45.86, -47.91, 45.42)
CIE-LCHlch(45.86, 66.02, 136.53°)
OKLaboklab(51.76% -0.1303 0.1006)
OKLCHoklch(51.76% 0.165 142.3)
XYZxyz(7.9546, 15.1620, 3.1233)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E13 #79137E
analogous
#4D7E13 #187E13 #137E43
triadic
#187E13 #13187E #7E1318
tetradic
#187E13 #134D7E #79137E #7E4313
square
#187E13 #134D7E #79137E #7E4313
split-complementary
#187E13 #43137E #7E134D
monochromatic
#051B04 #0E490B #187E13 #22B31B #35DF2C

Accessibility & contrast

On white

5.21
#187E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E13
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E13#FFFFFF#000000##FFFFFF
##187E131.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187e13;
/* rgb */ color: rgb(24, 126, 19);
/* oklch */ color: oklch(51.8% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#187e13',
    950: '#000000',
  },
}
SCSS
$custom: #187e13;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#187e13",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 117.196,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51761,
    "c": 0.16458,
    "h": 142.3
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#187E13
secondary
#AE39B4
accent
#37F0E8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #187E13

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

Preview Lab → · Contrast checker → · Palette generator →

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