#187E2F#187E2F

#187E2F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.146 H 146.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#187E2F
RGBrgb(24, 126, 47)
HSLhsl(134, 68%, 29%)
HSVhsv(134, 81%, 49%)
CMYKcmyk(81%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.07, -45.27, 34.43)
CIE-LCHlch(46.07, 56.87, 142.75°)
OKLaboklab(52.01% -0.1219 0.081)
OKLCHoklch(52.01% 0.146 146.4)
XYZxyz(8.3500, 15.3201, 5.2058)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E2F #7E1867
analogous
#347E18 #187E2F #187E62
triadic
#187E2F #2F187E #7E2F18
tetradic
#187E2F #18347E #7E1867 #7E6218
square
#187E2F #18347E #7E1867 #7E6218
split-complementary
#187E2F #62187E #7E1834
monochromatic
#051A0A #0E4B1C #187E2F #22B142 #37D95C

Accessibility & contrast

On white

5.17
#187E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#187E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E2F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E2F#FFFFFF#000000##FFFFFF
##187E2F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#756A36
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e2f;
/* rgb */ color: rgb(24, 126, 47);
/* oklch */ color: oklch(52.0% 0.146 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a46a',
    500: '#187e2f',
    950: '#000000',
  },
}
SCSS
$custom: #187e2f;
$custom-light: #68a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#187e2f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 133.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.14634,
    "h": 146.4
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #187E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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