#187728#187728

#187728 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.143 H 145.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#187728
RGBrgb(24, 119, 40)
HSLhsl(130, 66%, 28%)
HSVhsv(130, 80%, 47%)
CMYKcmyk(79.8%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.57, -43.67, 34.95)
CIE-LCHlch(43.57, 55.93, 141.33°)
OKLaboklab(49.91% -0.1178 0.0815)
OKLCHoklch(49.91% 0.143 145.3)
XYZxyz(7.3560, 13.5402, 4.2329)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187728 #771867
analogous
#377718 #187728 #187757
triadic
#187728 #281877 #772818
tetradic
#187728 #183777 #771867 #775718
square
#187728 #183777 #771867 #775718
split-complementary
#187728 #571877 #771837
monochromatic
#051909 #0E4417 #187728 #22AA39 #33D64F

Accessibility & contrast

On white

5.66
#187728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#187728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187728
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187728#FFFFFF#000000##FFFFFF
##1877281.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #187728;
/* rgb */ color: rgb(24, 119, 40);
/* oklch */ color: oklch(49.9% 0.143 145.3);
Tailwind
colors: {
  custom: {
    50: '#679f65',
    500: '#187728',
    950: '#000000',
  },
}
SCSS
$custom: #187728;
$custom-light: #679f65;
$custom-dark: #000000;
JSON
{
  "hex": "#187728",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 130.105,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.14321,
    "h": 145.3
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#187728
secondary
#AC3F9A
accent
#3ECDE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #187728

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

Preview Lab → · Contrast checker → · Palette generator →

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