#187428#187428

#187428 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.139 H 145.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#187428
RGBrgb(24, 116, 40)
HSLhsl(130, 66%, 27%)
HSVhsv(130, 79%, 45%)
CMYKcmyk(79.3%, 0%, 65.5%, 54.5%)
CIE-LABlab(42.52, -42.60, 33.77)
CIE-LCHlch(42.52, 54.36, 141.60°)
OKLaboklab(49.04% -0.1149 0.0789)
OKLCHoklch(49.04% 0.139 145.5)
XYZxyz(7.0046, 12.8374, 4.1158)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187428 #741864
analogous
#367418 #187428 #187456
triadic
#187428 #281874 #742818
tetradic
#187428 #183674 #741864 #745618
square
#187428 #183674 #741864 #745618
split-complementary
#187428 #561874 #741836
monochromatic
#051909 #0E4117 #187428 #22A739 #32D54E

Accessibility & contrast

On white

5.89
#187428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#187428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187428
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187428#FFFFFF#000000##FFFFFF
##1874281.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187428;
/* rgb */ color: rgb(24, 116, 40);
/* oklch */ color: oklch(49.0% 0.139 145.5);
Tailwind
colors: {
  custom: {
    50: '#669d65',
    500: '#187428',
    950: '#000000',
  },
}
SCSS
$custom: #187428;
$custom-light: #669d65;
$custom-dark: #000000;
JSON
{
  "hex": "#187428",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 130.435,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.13939,
    "h": 145.5
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#187428
secondary
#A93F97
accent
#3FCBE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #187428

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

Preview Lab → · Contrast checker → · Palette generator →

#187428 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva