#187E1D#187E1D

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

Color values

HEX#187E1D
RGBrgb(24, 126, 29)
HSLhsl(123, 68%, 29%)
HSVhsv(123, 81%, 49%)
CMYKcmyk(81%, 0%, 77%, 50.6%)
CIE-LABlab(45.91, -47.20, 42.13)
CIE-LCHlch(45.91, 63.27, 138.25°)
OKLaboklab(51.83% -0.1279 0.0952)
OKLCHoklch(51.83% 0.159 143.3)
XYZxyz(8.0588, 15.2036, 3.6720)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E1D #7E1879
analogous
#467E18 #187E1D #187E50
triadic
#187E1D #1D187E #7E1D18
tetradic
#187E1D #18467E #7E1879 #7E5018
square
#187E1D #18467E #7E1879 #7E5018
split-complementary
#187E1D #50187E #7E1846
monochromatic
#051A06 #0E4B11 #187E1D #22B129 #37D93F

Accessibility & contrast

On white

5.20
#187E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187E1D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E1D#FFFFFF#000000##FFFFFF
##187E1D1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817109
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e1d;
/* rgb */ color: rgb(24, 126, 29);
/* oklch */ color: oklch(51.8% 0.159 143.3);
Tailwind
colors: {
  custom: {
    50: '#69a460',
    500: '#187e1d',
    950: '#000000',
  },
}
SCSS
$custom: #187e1d;
$custom-light: #69a460;
$custom-dark: #000000;
JSON
{
  "hex": "#187e1d",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 122.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.15941,
    "h": 143.3
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#187E1D
secondary
#B23FAD
accent
#3DE2EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #187E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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