#187E3F#187E3F

#187E3F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.132 H 150.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#187E3F
RGBrgb(24, 126, 63)
HSLhsl(143, 68%, 29%)
HSVhsv(143, 81%, 49%)
CMYKcmyk(81%, 0%, 50%, 50.6%)
CIE-LABlab(46.28, -42.80, 26.39)
CIE-LCHlch(46.28, 50.29, 148.34°)
OKLaboklab(52.25% -0.115 0.0644)
OKLCHoklch(52.25% 0.132 150.8)
XYZxyz(8.7340, 15.4737, 7.2281)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E3F #7E1857
analogous
#247E18 #187E3F #187E72
triadic
#187E3F #3F187E #7E3F18
tetradic
#187E3F #18247E #7E1857 #7E7218
square
#187E3F #18247E #7E1857 #7E7218
split-complementary
#187E3F #72187E #7E1824
monochromatic
#051A0D #0E4B25 #187E3F #22B159 #37D975

Accessibility & contrast

On white

5.13
#187E3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187E3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E3F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E3F#FFFFFF#000000##FFFFFF
##187E3F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733A
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e3f;
/* rgb */ color: rgb(24, 126, 63);
/* oklch */ color: oklch(52.2% 0.132 150.8);
Tailwind
colors: {
  custom: {
    50: '#68a475',
    500: '#187e3f',
    950: '#000000',
  },
}
SCSS
$custom: #187e3f;
$custom-light: #68a475;
$custom-dark: #000000;
JSON
{
  "hex": "#187e3f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 63
  },
  "hsl": {
    "h": 142.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52247,
    "c": 0.13175,
    "h": 150.8
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#187E3F
secondary
#B23F86
accent
#3DA8EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #187E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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