#187F43#187F43

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

Color values

HEX#187F43
RGBrgb(24, 127, 67)
HSLhsl(145, 68%, 30%)
HSVhsv(145, 81%, 50%)
CMYKcmyk(81.1%, 0%, 47.2%, 50.2%)
CIE-LABlab(46.68, -42.46, 24.72)
CIE-LCHlch(46.68, 49.13, 149.79°)
OKLaboklab(52.6% -0.1141 0.0607)
OKLCHoklch(52.6% 0.129 152)
XYZxyz(8.9784, 15.7771, 7.8812)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F43 #7F1854
analogous
#207F18 #187F43 #187F77
triadic
#187F43 #43187F #7F4318
tetradic
#187F43 #18207F #7F1854 #7F7718
square
#187F43 #18207F #7F1854 #7F7718
split-complementary
#187F43 #77187F #7F1820
monochromatic
#051A0E #0E4C28 #187F43 #22B25E #38D97B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F43#FFFFFF#000000##FFFFFF
##187F431.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)
#7F743E
Deuteranopia (green-blind)
#746B47
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f43;
/* rgb */ color: rgb(24, 127, 67);
/* oklch */ color: oklch(52.6% 0.129 152.0);
Tailwind
colors: {
  custom: {
    50: '#68a578',
    500: '#187f43',
    950: '#000000',
  },
}
SCSS
$custom: #187f43;
$custom-light: #68a578;
$custom-dark: #000000;
JSON
{
  "hex": "#187f43",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 67
  },
  "hsl": {
    "h": 145.049,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.12924,
    "h": 152
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#187F43
secondary
#B33F83
accent
#3DA2EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187F43

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

Preview Lab → · Contrast checker → · Palette generator →

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