#187E1F#187E1F

#187E1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.158 H 143.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#187E1F
RGBrgb(24, 126, 31)
HSLhsl(124, 68%, 29%)
HSVhsv(124, 81%, 49%)
CMYKcmyk(81%, 0%, 75.4%, 50.6%)
CIE-LABlab(45.93, -47.03, 41.37)
CIE-LCHlch(45.93, 62.64, 138.66°)
OKLaboklab(51.84% -0.1273 0.0939)
OKLCHoklch(51.84% 0.158 143.6)
XYZxyz(8.0843, 15.2139, 3.8066)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E1F #7E1877
analogous
#447E18 #187E1F #187E52
triadic
#187E1F #1F187E #7E1F18
tetradic
#187E1F #18447E #7E1877 #7E5218
square
#187E1F #18447E #7E1877 #7E5218
split-complementary
#187E1F #52187E #7E1844
monochromatic
#051A06 #0E4B12 #187E1F #22B12C #37D943

Accessibility & contrast

On white

5.19
#187E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E1F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E1F#FFFFFF#000000##FFFFFF
##187E1F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e1f;
/* rgb */ color: rgb(24, 126, 31);
/* oklch */ color: oklch(51.8% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#187e1f',
    950: '#000000',
  },
}
SCSS
$custom: #187e1f;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#187e1f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 124.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51843,
    "c": 0.15819,
    "h": 143.6
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#187E1F
secondary
#B23FAB
accent
#3DDFEB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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