#187727#187727

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

Color values

HEX#187727
RGBrgb(24, 119, 39)
HSLhsl(129, 66%, 28%)
HSVhsv(129, 80%, 47%)
CMYKcmyk(79.8%, 0%, 67.2%, 53.3%)
CIE-LABlab(43.56, -43.79, 35.41)
CIE-LCHlch(43.56, 56.32, 141.04°)
OKLaboklab(49.9% -0.1182 0.0823)
OKLCHoklch(49.9% 0.144 145.1)
XYZxyz(7.3392, 13.5335, 4.1445)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187727 #771868
analogous
#387718 #187727 #187756
triadic
#187727 #271877 #772718
tetradic
#187727 #183877 #771868 #775618
square
#187727 #183877 #771868 #775618
split-complementary
#187727 #561877 #771838
monochromatic
#051908 #0E4416 #187727 #22AA38 #33D64D

Accessibility & contrast

On white

5.67
#187727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #187727
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187727#FFFFFF#000000##FFFFFF
##1877271.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187727;
/* rgb */ color: rgb(24, 119, 39);
/* oklch */ color: oklch(49.9% 0.144 145.1);
Tailwind
colors: {
  custom: {
    50: '#679f65',
    500: '#187727',
    950: '#000000',
  },
}
SCSS
$custom: #187727;
$custom-light: #679f65;
$custom-dark: #000000;
JSON
{
  "hex": "#187727",
  "rgb": {
    "r": 24,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 129.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.14401,
    "h": 145.1
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#187727
secondary
#AC3F9B
accent
#3ECEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #187727

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

Preview Lab → · Contrast checker → · Palette generator →

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