#187E14#187E14

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

Color values

HEX#187E14
RGBrgb(24, 126, 20)
HSLhsl(118, 73%, 29%)
HSVhsv(118, 84%, 49%)
CMYKcmyk(81%, 0%, 84.1%, 50.6%)
CIE-LABlab(45.86, -47.85, 45.13)
CIE-LCHlch(45.86, 65.78, 136.67°)
OKLaboklab(51.77% -0.13 0.1001)
OKLCHoklch(51.77% 0.164 142.4)
XYZxyz(7.9633, 15.1655, 3.1692)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E14 #7A147E
analogous
#4D7E14 #187E14 #147E45
triadic
#187E14 #14187E #7E1418
tetradic
#187E14 #144D7E #7A147E #7E4514
square
#187E14 #144D7E #7A147E #7E4514
split-complementary
#187E14 #45147E #7E144D
monochromatic
#051A04 #0E490C #187E14 #22B31C #35DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187E14#FFFFFF#000000##FFFFFF
##187E141.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)
#766A22
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e14;
/* rgb */ color: rgb(24, 126, 20);
/* oklch */ color: oklch(51.8% 0.164 142.4);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#187e14',
    950: '#000000',
  },
}
SCSS
$custom: #187e14;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#187e14",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 117.736,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.16414,
    "h": 142.4
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#187E14
secondary
#AF3AB3
accent
#38EFE8
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #187E14

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

Preview Lab → · Contrast checker → · Palette generator →

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