#187E34#187E34

#187E34 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.142 H 147.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#187E34
RGBrgb(24, 126, 52)
HSLhsl(136, 68%, 29%)
HSVhsv(136, 81%, 49%)
CMYKcmyk(81%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.13, -44.57, 32.00)
CIE-LCHlch(46.13, 54.87, 144.32°)
OKLaboklab(52.08% -0.1198 0.0762)
OKLCHoklch(52.08% 0.142 147.5)
XYZxyz(8.4567, 15.3628, 5.7678)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E34 #7E1862
analogous
#2F7E18 #187E34 #187E67
triadic
#187E34 #34187E #7E3418
tetradic
#187E34 #182F7E #7E1862 #7E6718
square
#187E34 #182F7E #7E1862 #7E6718
split-complementary
#187E34 #67187E #7E182F
monochromatic
#051A0B #0E4B1F #187E34 #22B149 #37D964

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187E34#FFFFFF#000000##FFFFFF
##187E341.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)
#7F722D
Deuteranopia (green-blind)
#746A3A
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e34;
/* rgb */ color: rgb(24, 126, 52);
/* oklch */ color: oklch(52.1% 0.142 147.5);
Tailwind
colors: {
  custom: {
    50: '#68a46e',
    500: '#187e34',
    950: '#000000',
  },
}
SCSS
$custom: #187e34;
$custom-light: #68a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#187e34",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 136.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.14201,
    "h": 147.5
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#187E34
secondary
#B23F93
accent
#3DBBEB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187E34

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

Preview Lab → · Contrast checker → · Palette generator →

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