#187C2D#187C2D

#187C2D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.145 H 146.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#187C2D
RGBrgb(24, 124, 45)
HSLhsl(133, 68%, 29%)
HSVhsv(133, 81%, 49%)
CMYKcmyk(80.6%, 0%, 63.7%, 51.4%)
CIE-LABlab(45.36, -44.82, 34.58)
CIE-LCHlch(45.36, 56.61, 142.35°)
OKLaboklab(51.41% -0.1207 0.0812)
OKLCHoklch(51.41% 0.145 146.1)
XYZxyz(8.0574, 14.7980, 4.9138)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C2D #7C1867
analogous
#357C18 #187C2D #187C5F
triadic
#187C2D #2D187C #7C2D18
tetradic
#187C2D #18357C #7C1867 #7C5F18
square
#187C2D #18357C #7C1867 #7C5F18
split-complementary
#187C2D #5F187C #7C1835
monochromatic
#051A09 #0E491A #187C2D #22AF40 #36D858

Accessibility & contrast

On white

5.30
#187C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#187C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C2D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C2D#FFFFFF#000000##FFFFFF
##187C2D1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c2d;
/* rgb */ color: rgb(24, 124, 45);
/* oklch */ color: oklch(51.4% 0.145 146.1);
Tailwind
colors: {
  custom: {
    50: '#68a369',
    500: '#187c2d',
    950: '#000000',
  },
}
SCSS
$custom: #187c2d;
$custom-light: #68a369;
$custom-dark: #000000;
JSON
{
  "hex": "#187c2d",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 132.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.14546,
    "h": 146.1
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#187C2D
secondary
#B13F99
accent
#3DC6EA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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