#187F4A#187F4A

#187F4A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.122 H 154.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#187F4A
RGBrgb(24, 127, 74)
HSLhsl(149, 68%, 30%)
HSVhsv(149, 81%, 50%)
CMYKcmyk(81.1%, 0%, 41.7%, 50.2%)
CIE-LABlab(46.80, -41.10, 20.98)
CIE-LCHlch(46.80, 46.14, 152.96°)
OKLaboklab(52.74% -0.1107 0.0522)
OKLCHoklch(52.74% 0.122 154.8)
XYZxyz(9.2012, 15.8662, 9.0548)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F4A #7F184D
analogous
#1A7F18 #187F4A #187F7E
triadic
#187F4A #4A187F #7F4A18
tetradic
#187F4A #181A7F #7F184D #7F7E18
square
#187F4A #181A7F #7F184D #7F7E18
split-complementary
#187F4A #7E187F #7F181A
monochromatic
#051A0F #0E4C2C #187F4A #22B268 #38D986

Accessibility & contrast

On white

5.03
#187F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F4A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F4A#FFFFFF#000000##FFFFFF
##187F4A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7446
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f4a;
/* rgb */ color: rgb(24, 127, 74);
/* oklch */ color: oklch(52.7% 0.122 154.8);
Tailwind
colors: {
  custom: {
    50: '#68a57d',
    500: '#187f4a',
    950: '#000000',
  },
}
SCSS
$custom: #187f4a;
$custom-light: #68a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#187f4a",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 149.126,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.12239,
    "h": 154.8
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#187F4A
secondary
#B33F7B
accent
#3D96EB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #187F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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