#187A28#187A28

#187A28 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.147 H 145.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#187A28
RGBrgb(24, 122, 40)
HSLhsl(130, 67%, 29%)
HSVhsv(130, 80%, 48%)
CMYKcmyk(80.3%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.61, -44.73, 36.11)
CIE-LCHlch(44.61, 57.49, 141.09°)
OKLaboklab(50.78% -0.1207 0.0839)
OKLCHoklch(50.78% 0.147 145.2)
XYZxyz(7.7187, 14.2655, 4.3538)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A28 #7A186A
analogous
#397A18 #187A28 #187A59
triadic
#187A28 #28187A #7A2818
tetradic
#187A28 #18397A #7A186A #7A5918
square
#187A28 #18397A #7A186A #7A5918
split-complementary
#187A28 #59187A #7A1839
monochromatic
#051A08 #0E4717 #187A28 #22AD39 #35D750

Accessibility & contrast

On white

5.45
#187A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A28
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A28#FFFFFF#000000##FFFFFF
##187A281.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187a28;
/* rgb */ color: rgb(24, 122, 40);
/* oklch */ color: oklch(50.8% 0.147 145.2);
Tailwind
colors: {
  custom: {
    50: '#67a166',
    500: '#187a28',
    950: '#000000',
  },
}
SCSS
$custom: #187a28;
$custom-light: #67a166;
$custom-dark: #000000;
JSON
{
  "hex": "#187a28",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 129.796,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.14698,
    "h": 145.2
  },
  "luminance": 0.14266
}

Semantic roles & 50–950 ramp

primary
#187A28
secondary
#AF3F9D
accent
#3ECEEA
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187A28

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

Preview Lab → · Contrast checker → · Palette generator →

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