#187F45#187F45

#187F45 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.127 H 152.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#187F45
RGBrgb(24, 127, 69)
HSLhsl(146, 68%, 30%)
HSVhsv(146, 81%, 50%)
CMYKcmyk(81.1%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.71, -42.09, 23.66)
CIE-LCHlch(46.71, 48.28, 150.66°)
OKLaboklab(52.64% -0.1131 0.0583)
OKLCHoklch(52.64% 0.127 152.7)
XYZxyz(9.0394, 15.8015, 8.2027)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F45 #7F1852
analogous
#1E7F18 #187F45 #187F79
triadic
#187F45 #45187F #7F4518
tetradic
#187F45 #181E7F #7F1852 #7F7918
square
#187F45 #181E7F #7F1852 #7F7918
split-complementary
#187F45 #79187F #7F181E
monochromatic
#051A0E #0E4C29 #187F45 #22B261 #38D97F

Accessibility & contrast

On white

5.05
#187F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#187F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F45
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F45#FFFFFF#000000##FFFFFF
##187F451.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f45;
/* rgb */ color: rgb(24, 127, 69);
/* oklch */ color: oklch(52.6% 0.127 152.7);
Tailwind
colors: {
  custom: {
    50: '#68a579',
    500: '#187f45',
    950: '#000000',
  },
}
SCSS
$custom: #187f45;
$custom-light: #68a579;
$custom-dark: #000000;
JSON
{
  "hex": "#187f45",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 146.214,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.12729,
    "h": 152.7
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#187F45
secondary
#B33F81
accent
#3D9FEB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187F45

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

Preview Lab → · Contrast checker → · Palette generator →

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