#187E18#187E18

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

Color values

HEX#187E18
RGBrgb(24, 126, 24)
HSLhsl(120, 68%, 29%)
HSVhsv(120, 81%, 49%)
CMYKcmyk(81%, 0%, 81%, 50.6%)
CIE-LABlab(45.88, -47.59, 43.88)
CIE-LCHlch(45.88, 64.73, 137.32°)
OKLaboklab(51.79% -0.1292 0.0981)
OKLCHoklch(51.79% 0.162 142.8)
XYZxyz(8.0019, 15.1809, 3.3725)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E18 #7E187E
analogous
#4B7E18 #187E18 #187E4B
triadic
#187E18 #18187E #7E1818
tetradic
#187E18 #184B7E #7E187E #7E4B18
square
#187E18 #184B7E #7E187E #7E4B18
split-complementary
#187E18 #4B187E #7E184B
monochromatic
#051A05 #0E4B0E #187E18 #22B122 #37D937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187E18#FFFFFF#000000##FFFFFF
##187E181.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)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e18;
/* rgb */ color: rgb(24, 126, 24);
/* oklch */ color: oklch(51.8% 0.162 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#187e18',
    950: '#000000',
  },
}
SCSS
$custom: #187e18;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#187e18",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 120,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.1622,
    "h": 142.8
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#187E18
secondary
#B23FB2
accent
#3DEBEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #187E18

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

Preview Lab → · Contrast checker → · Palette generator →

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