#187E28#187E28

#187E28 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.152 H 145.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#187E28
RGBrgb(24, 126, 40)
HSLhsl(129, 68%, 29%)
HSVhsv(129, 81%, 49%)
CMYKcmyk(81%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.00, -46.13, 37.64)
CIE-LCHlch(46.00, 59.53, 140.78°)
OKLaboklab(51.93% -0.1244 0.0872)
OKLCHoklch(51.93% 0.152 145)
XYZxyz(8.2200, 15.2681, 4.5209)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E28 #7E186E
analogous
#3B7E18 #187E28 #187E5B
triadic
#187E28 #28187E #7E2818
tetradic
#187E28 #183B7E #7E186E #7E5B18
square
#187E28 #183B7E #7E186E #7E5B18
split-complementary
#187E28 #5B187E #7E183B
monochromatic
#051A08 #0E4B18 #187E28 #22B138 #37D951

Accessibility & contrast

On white

5.18
#187E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#187E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E28
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E28#FFFFFF#000000##FFFFFF
##187E281.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187e28;
/* rgb */ color: rgb(24, 126, 40);
/* oklch */ color: oklch(51.9% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a466',
    500: '#187e28',
    950: '#000000',
  },
}
SCSS
$custom: #187e28;
$custom-light: #69a466;
$custom-dark: #000000;
JSON
{
  "hex": "#187e28",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 129.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.15194,
    "h": 145
  },
  "luminance": 0.15269
}

Semantic roles & 50–950 ramp

primary
#187E28
secondary
#B23FA0
accent
#3DD0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #187E28

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

Preview Lab → · Contrast checker → · Palette generator →

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