#187E2A#187E2A

#187E2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.150 H 145.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187E2A
RGBrgb(24, 126, 42)
HSLhsl(131, 68%, 29%)
HSVhsv(131, 81%, 49%)
CMYKcmyk(81%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.02, -45.89, 36.75)
CIE-LCHlch(46.02, 58.79, 141.32°)
OKLaboklab(51.95% -0.1237 0.0855)
OKLCHoklch(51.95% 0.15 145.4)
XYZxyz(8.2549, 15.2821, 4.7047)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E2A #7E186C
analogous
#397E18 #187E2A #187E5D
triadic
#187E2A #2A187E #7E2A18
tetradic
#187E2A #18397E #7E186C #7E5D18
square
#187E2A #18397E #7E186C #7E5D18
split-complementary
#187E2A #5D187E #7E1839
monochromatic
#051A09 #0E4B19 #187E2A #22B13B #37D954

Accessibility & contrast

On white

5.18
#187E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187E2A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E2A#FFFFFF#000000##FFFFFF
##187E2A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e2a;
/* rgb */ color: rgb(24, 126, 42);
/* oklch */ color: oklch(51.9% 0.150 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a467',
    500: '#187e2a',
    950: '#000000',
  },
}
SCSS
$custom: #187e2a;
$custom-light: #68a467;
$custom-dark: #000000;
JSON
{
  "hex": "#187e2a",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 130.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.1504,
    "h": 145.4
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#187E2A
secondary
#B23F9E
accent
#3DCCEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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