#187E31#187E31

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

Color values

HEX#187E31
RGBrgb(24, 126, 49)
HSLhsl(135, 68%, 29%)
HSVhsv(135, 81%, 49%)
CMYKcmyk(81%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.09, -45.00, 33.47)
CIE-LCHlch(46.09, 56.08, 143.36°)
OKLaboklab(52.03% -0.1211 0.0791)
OKLCHoklch(52.03% 0.145 146.8)
XYZxyz(8.3913, 15.3366, 5.4232)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E31 #7E1865
analogous
#327E18 #187E31 #187E64
triadic
#187E31 #31187E #7E3118
tetradic
#187E31 #18327E #7E1865 #7E6418
square
#187E31 #18327E #7E1865 #7E6418
split-complementary
#187E31 #64187E #7E1832
monochromatic
#051A0A #0E4B1D #187E31 #22B145 #37D95F

Accessibility & contrast

On white

5.16
#187E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#187E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E31
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E31#FFFFFF#000000##FFFFFF
##187E311.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e31;
/* rgb */ color: rgb(24, 126, 49);
/* oklch */ color: oklch(52.0% 0.145 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#187e31',
    950: '#000000',
  },
}
SCSS
$custom: #187e31;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#187e31",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 134.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.14463,
    "h": 146.8
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#187E31
secondary
#B23F96
accent
#3DC0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187E31

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

Preview Lab → · Contrast checker → · Palette generator →

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