#187F34#187F34

#187F34 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.143 H 147.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#187F34
RGBrgb(24, 127, 52)
HSLhsl(136, 68%, 30%)
HSVhsv(136, 81%, 50%)
CMYKcmyk(81.1%, 0%, 59.1%, 50.2%)
CIE-LABlab(46.47, -44.93, 32.41)
CIE-LCHlch(46.47, 55.40, 144.20°)
OKLaboklab(52.36% -0.1208 0.0771)
OKLCHoklch(52.36% 0.143 147.5)
XYZxyz(8.5852, 15.6198, 5.8106)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F34 #7F1863
analogous
#2F7F18 #187F34 #187F68
triadic
#187F34 #34187F #7F3418
tetradic
#187F34 #182F7F #7F1863 #7F6818
square
#187F34 #182F7F #7F1863 #7F6818
split-complementary
#187F34 #68187F #7F182F
monochromatic
#051A0B #0E4C1F #187F34 #22B249 #38D964

Accessibility & contrast

On white

5.09
#187F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187F34
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F34#FFFFFF#000000##FFFFFF
##187F341.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187f34;
/* rgb */ color: rgb(24, 127, 52);
/* oklch */ color: oklch(52.4% 0.143 147.5);
Tailwind
colors: {
  custom: {
    50: '#68a56e',
    500: '#187f34',
    950: '#000000',
  },
}
SCSS
$custom: #187f34;
$custom-light: #68a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#187f34",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 136.311,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.1433,
    "h": 147.5
  },
  "luminance": 0.15621
}

Semantic roles & 50–950 ramp

primary
#187F34
secondary
#B33F94
accent
#3DBCEB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #187F34

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

Preview Lab → · Contrast checker → · Palette generator →

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