#187F27#187F27

#187F27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.154 H 144.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#187F27
RGBrgb(24, 127, 39)
HSLhsl(129, 68%, 30%)
HSVhsv(129, 81%, 50%)
CMYKcmyk(81.1%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.34, -46.58, 38.45)
CIE-LCHlch(46.34, 60.40, 140.46°)
OKLaboklab(52.2% -0.1257 0.0888)
OKLCHoklch(52.2% 0.154 144.8)
XYZxyz(8.3317, 15.5184, 4.4753)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F27 #7F1870
analogous
#3D7F18 #187F27 #187F5B
triadic
#187F27 #27187F #7F2718
tetradic
#187F27 #183D7F #7F1870 #7F5B18
square
#187F27 #183D7F #7F1870 #7F5B18
split-complementary
#187F27 #5B187F #7F183D
monochromatic
#051A08 #0E4C17 #187F27 #22B237 #38D950

Accessibility & contrast

On white

5.12
#187F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#187F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F27
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F27#FFFFFF#000000##FFFFFF
##187F271.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731B
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f27;
/* rgb */ color: rgb(24, 127, 39);
/* oklch */ color: oklch(52.2% 0.154 144.8);
Tailwind
colors: {
  custom: {
    50: '#69a566',
    500: '#187f27',
    950: '#000000',
  },
}
SCSS
$custom: #187f27;
$custom-light: #69a566;
$custom-dark: #000000;
JSON
{
  "hex": "#187f27",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 128.738,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.15391,
    "h": 144.8
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#187F27
secondary
#B33FA2
accent
#3DD2EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187F27

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

Preview Lab → · Contrast checker → · Palette generator →

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