#187E2E#187E2E

#187E2E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.147 H 146.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187E2E
RGBrgb(24, 126, 46)
HSLhsl(133, 68%, 29%)
HSVhsv(133, 81%, 49%)
CMYKcmyk(81%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.06, -45.40, 34.90)
CIE-LCHlch(46.06, 57.26, 142.45°)
OKLaboklab(52% -0.1222 0.082)
OKLCHoklch(52% 0.147 146.2)
XYZxyz(8.3301, 15.3122, 5.1008)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E2E #7E1868
analogous
#357E18 #187E2E #187E61
triadic
#187E2E #2E187E #7E2E18
tetradic
#187E2E #18357E #7E1868 #7E6118
square
#187E2E #18357E #7E1868 #7E6118
split-complementary
#187E2E #61187E #7E1835
monochromatic
#051A09 #0E4B1B #187E2E #22B141 #37D95A

Accessibility & contrast

On white

5.17
#187E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E2E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E2E#FFFFFF#000000##FFFFFF
##187E2E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e2e;
/* rgb */ color: rgb(24, 126, 46);
/* oklch */ color: oklch(52.0% 0.147 146.2);
Tailwind
colors: {
  custom: {
    50: '#68a46a',
    500: '#187e2e',
    950: '#000000',
  },
}
SCSS
$custom: #187e2e;
$custom-light: #68a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#187e2e",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 132.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.14718,
    "h": 146.2
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#187E2E
secondary
#B23F9A
accent
#3DC5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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