#187D2F#187D2F

#187D2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.145 H 146.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#187D2F
RGBrgb(24, 125, 47)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 49%)
CMYKcmyk(80.8%, 0%, 62.4%, 51%)
CIE-LABlab(45.72, -44.91, 34.03)
CIE-LCHlch(45.72, 56.35, 142.85°)
OKLaboklab(51.72% -0.1209 0.0802)
OKLCHoklch(51.72% 0.145 146.5)
XYZxyz(8.2228, 15.0657, 5.1634)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D2F #7D1866
analogous
#347D18 #187D2F #187D62
triadic
#187D2F #2F187D #7D2F18
tetradic
#187D2F #18347D #7D1866 #7D6218
square
#187D2F #18347D #7D1866 #7D6218
split-complementary
#187D2F #62187D #7D1834
monochromatic
#051A0A #0E4A1C #187D2F #22B042 #37D95C

Accessibility & contrast

On white

5.23
#187D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#187D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D2F#FFFFFF#000000##FFFFFF
##187D2F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187d2f;
/* rgb */ color: rgb(24, 125, 47);
/* oklch */ color: oklch(51.7% 0.145 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a46a',
    500: '#187d2f',
    950: '#000000',
  },
}
SCSS
$custom: #187d2f;
$custom-light: #68a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#187d2f",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 133.663,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.14507,
    "h": 146.5
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#187D2F
secondary
#B23F98
accent
#3DC3EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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