#187F48#187F48

#187F48 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.124 H 153.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#187F48
RGBrgb(24, 127, 72)
HSLhsl(148, 68%, 30%)
HSVhsv(148, 81%, 50%)
CMYKcmyk(81.1%, 0%, 43.3%, 50.2%)
CIE-LABlab(46.76, -41.50, 22.05)
CIE-LCHlch(46.76, 47.00, 152.02°)
OKLaboklab(52.7% -0.1117 0.0547)
OKLCHoklch(52.7% 0.124 153.9)
XYZxyz(9.1349, 15.8397, 8.7056)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F48 #7F184F
analogous
#1C7F18 #187F48 #187F7C
triadic
#187F48 #48187F #7F4818
tetradic
#187F48 #181C7F #7F184F #7F7C18
square
#187F48 #181C7F #7F184F #7F7C18
split-complementary
#187F48 #7C187F #7F181C
monochromatic
#051A0F #0E4C2B #187F48 #22B265 #38D983

Accessibility & contrast

On white

5.04
#187F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#187F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F48
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F48#FFFFFF#000000##FFFFFF
##187F481.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187f48;
/* rgb */ color: rgb(24, 127, 72);
/* oklch */ color: oklch(52.7% 0.124 153.9);
Tailwind
colors: {
  custom: {
    50: '#68a57b',
    500: '#187f48',
    950: '#000000',
  },
}
SCSS
$custom: #187f48;
$custom-light: #68a57b;
$custom-dark: #000000;
JSON
{
  "hex": "#187f48",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 147.961,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.12435,
    "h": 153.9
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#187F48
secondary
#B33F7D
accent
#3D9AEB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187F48

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

Preview Lab → · Contrast checker → · Palette generator →

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