#187C28#187C28

#187C28 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.149 H 145.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#187C28
RGBrgb(24, 124, 40)
HSLhsl(130, 68%, 29%)
HSVhsv(130, 81%, 49%)
CMYKcmyk(80.6%, 0%, 67.7%, 51.4%)
CIE-LABlab(45.31, -45.43, 36.88)
CIE-LCHlch(45.31, 58.52, 140.93°)
OKLaboklab(51.35% -0.1226 0.0856)
OKLCHoklch(51.35% 0.149 145.1)
XYZxyz(7.9668, 14.7617, 4.4365)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C28 #7C186C
analogous
#3A7C18 #187C28 #187C5A
triadic
#187C28 #28187C #7C2818
tetradic
#187C28 #183A7C #7C186C #7C5A18
square
#187C28 #183A7C #7C186C #7C5A18
split-complementary
#187C28 #5A187C #7C183A
monochromatic
#051A08 #0E4917 #187C28 #22AF39 #36D850

Accessibility & contrast

On white

5.31
#187C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C28
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C28#FFFFFF#000000##FFFFFF
##187C281.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701D
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187c28;
/* rgb */ color: rgb(24, 124, 40);
/* oklch */ color: oklch(51.4% 0.149 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a366',
    500: '#187c28',
    950: '#000000',
  },
}
SCSS
$custom: #187c28;
$custom-light: #68a366;
$custom-dark: #000000;
JSON
{
  "hex": "#187c28",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 129.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.14947,
    "h": 145.1
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#187C28
secondary
#B13F9E
accent
#3DCFEA
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187C28

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

Preview Lab → · Contrast checker → · Palette generator →

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