#187628#187628

#187628 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.142 H 145.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#187628
RGBrgb(24, 118, 40)
HSLhsl(130, 66%, 28%)
HSVhsv(130, 80%, 46%)
CMYKcmyk(79.7%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.22, -43.32, 34.56)
CIE-LCHlch(43.22, 55.41, 141.42°)
OKLaboklab(49.62% -0.1168 0.0806)
OKLCHoklch(49.62% 0.142 145.4)
XYZxyz(7.2376, 13.3034, 4.1934)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187628 #761866
analogous
#377618 #187628 #187657
triadic
#187628 #281876 #762818
tetradic
#187628 #183776 #761866 #765718
square
#187628 #183776 #761866 #765718
split-complementary
#187628 #571876 #761837
monochromatic
#051909 #0E4317 #187628 #22A939 #33D54F

Accessibility & contrast

On white

5.74
#187628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#187628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187628
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187628#FFFFFF#000000##FFFFFF
##1876281.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#6E632F
Tritanopia (blue-blind)
#007366
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #187628;
/* rgb */ color: rgb(24, 118, 40);
/* oklch */ color: oklch(49.6% 0.142 145.4);
Tailwind
colors: {
  custom: {
    50: '#669e65',
    500: '#187628',
    950: '#000000',
  },
}
SCSS
$custom: #187628;
$custom-light: #669e65;
$custom-dark: #000000;
JSON
{
  "hex": "#187628",
  "rgb": {
    "r": 24,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 130.213,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.14195,
    "h": 145.4
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#187628
secondary
#AB3F99
accent
#3FCCE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #187628

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

Preview Lab → · Contrast checker → · Palette generator →

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