#187F32#187F32

#187F32 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.145 H 147.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#187F32
RGBrgb(24, 127, 50)
HSLhsl(135, 68%, 30%)
HSVhsv(135, 81%, 50%)
CMYKcmyk(81.1%, 0%, 60.6%, 50.2%)
CIE-LABlab(46.45, -45.22, 33.39)
CIE-LCHlch(46.45, 56.21, 143.56°)
OKLaboklab(52.33% -0.1216 0.0791)
OKLCHoklch(52.33% 0.145 147)
XYZxyz(8.5411, 15.6022, 5.5784)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F32 #7F1865
analogous
#317F18 #187F32 #187F66
triadic
#187F32 #32187F #7F3218
tetradic
#187F32 #18317F #7F1865 #7F6618
square
#187F32 #18317F #7F1865 #7F6618
split-complementary
#187F32 #66187F #7F1831
monochromatic
#051A0A #0E4C1E #187F32 #22B246 #38D961

Accessibility & contrast

On white

5.10
#187F32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#187F32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F32
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F32#FFFFFF#000000##FFFFFF
##187F321.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81732A
Deuteranopia (green-blind)
#756B38
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187f32;
/* rgb */ color: rgb(24, 127, 50);
/* oklch */ color: oklch(52.3% 0.145 147.0);
Tailwind
colors: {
  custom: {
    50: '#68a56c',
    500: '#187f32',
    950: '#000000',
  },
}
SCSS
$custom: #187f32;
$custom-light: #68a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#187f32",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 50
  },
  "hsl": {
    "h": 135.146,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.14505,
    "h": 147
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#187F32
secondary
#B33F96
accent
#3DBFEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F32

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

Preview Lab → · Contrast checker → · Palette generator →

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