#187A2F#187A2F

#187A2F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.141 H 146.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#187A2F
RGBrgb(24, 122, 47)
HSLhsl(134, 67%, 29%)
HSVhsv(134, 80%, 48%)
CMYKcmyk(80.3%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.69, -43.84, 32.83)
CIE-LCHlch(44.69, 54.77, 143.18°)
OKLaboklab(50.86% -0.118 0.0776)
OKLCHoklch(50.86% 0.141 146.7)
XYZxyz(7.8487, 14.3176, 5.0387)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A2F #7A1863
analogous
#327A18 #187A2F #187A60
triadic
#187A2F #2F187A #7A2F18
tetradic
#187A2F #18327A #7A1863 #7A6018
square
#187A2F #18327A #7A1863 #7A6018
split-complementary
#187A2F #60187A #7A1832
monochromatic
#051A0A #0E471B #187A2F #22AD43 #35D75B

Accessibility & contrast

On white

5.44
#187A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#187A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A2F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A2F#FFFFFF#000000##FFFFFF
##187A2F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187a2f;
/* rgb */ color: rgb(24, 122, 47);
/* oklch */ color: oklch(50.9% 0.141 146.7);
Tailwind
colors: {
  custom: {
    50: '#67a16a',
    500: '#187a2f',
    950: '#000000',
  },
}
SCSS
$custom: #187a2f;
$custom-light: #67a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#187a2f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 134.082,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.1412,
    "h": 146.7
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#187A2F
secondary
#AF3F95
accent
#3EC2EA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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