#187E15#187E15

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

Color values

HEX#187E15
RGBrgb(24, 126, 21)
HSLhsl(118, 71%, 29%)
HSVhsv(118, 83%, 49%)
CMYKcmyk(81%, 0%, 83.3%, 50.6%)
CIE-LABlab(45.86, -47.79, 44.83)
CIE-LCHlch(45.86, 65.53, 136.83°)
OKLaboklab(51.77% -0.1298 0.0997)
OKLCHoklch(51.77% 0.164 142.5)
XYZxyz(7.9724, 15.1691, 3.2171)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E15 #7B157E
analogous
#4D7E15 #187E15 #157E47
triadic
#187E15 #15187E #7E1518
tetradic
#187E15 #154D7E #7B157E #7E4715
square
#187E15 #154D7E #7B157E #7E4715
split-complementary
#187E15 #47157E #7E154D
monochromatic
#051A04 #0E4A0C #187E15 #22B21E #36DD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187E15#FFFFFF#000000##FFFFFF
##187E151.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: #187e15;
/* rgb */ color: rgb(24, 126, 21);
/* oklch */ color: oklch(51.8% 0.164 142.5);
Tailwind
colors: {
  custom: {
    50: '#6aa45c',
    500: '#187e15',
    950: '#000000',
  },
}
SCSS
$custom: #187e15;
$custom-light: #6aa45c;
$custom-dark: #000000;
JSON
{
  "hex": "#187e15",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 118.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.16368,
    "h": 142.5
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#187E15
secondary
#B03CB3
accent
#3AEEE9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #187E15

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

Preview Lab → · Contrast checker → · Palette generator →

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