#187E38#187E38

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

Color values

HEX#187E38
RGBrgb(24, 126, 56)
HSLhsl(139, 68%, 29%)
HSVhsv(139, 81%, 49%)
CMYKcmyk(81%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.18, -43.97, 30.00)
CIE-LCHlch(46.18, 53.23, 145.69°)
OKLaboklab(52.13% -0.1181 0.0721)
OKLCHoklch(52.13% 0.138 148.6)
XYZxyz(8.5507, 15.4004, 6.2625)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E38 #7E185E
analogous
#2B7E18 #187E38 #187E6B
triadic
#187E38 #38187E #7E3818
tetradic
#187E38 #182B7E #7E185E #7E6B18
square
#187E38 #182B7E #7E185E #7E6B18
split-complementary
#187E38 #6B187E #7E182B
monochromatic
#051A0B #0E4B21 #187E38 #22B14F #37D96A

Accessibility & contrast

On white

5.15
#187E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#187E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E38
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E38#FFFFFF#000000##FFFFFF
##187E381.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e38;
/* rgb */ color: rgb(24, 126, 56);
/* oklch */ color: oklch(52.1% 0.138 148.6);
Tailwind
colors: {
  custom: {
    50: '#68a470',
    500: '#187e38',
    950: '#000000',
  },
}
SCSS
$custom: #187e38;
$custom-light: #68a470;
$custom-dark: #000000;
JSON
{
  "hex": "#187e38",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 138.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52133,
    "c": 0.13838,
    "h": 148.6
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#187E38
secondary
#B23F8E
accent
#3DB4EB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187E38

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

Preview Lab → · Contrast checker → · Palette generator →

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