#187827#187827

#187827 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.2% C 0.145 H 145.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#187827
RGBrgb(24, 120, 39)
HSLhsl(129, 67%, 28%)
HSVhsv(129, 80%, 47%)
CMYKcmyk(80%, 0%, 67.5%, 52.9%)
CIE-LABlab(43.91, -44.15, 35.79)
CIE-LCHlch(43.91, 56.83, 140.97°)
OKLaboklab(50.19% -0.1191 0.0831)
OKLCHoklch(50.19% 0.145 145.1)
XYZxyz(7.4588, 13.7727, 4.1844)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187827 #781869
analogous
#397818 #187827 #187857
triadic
#187827 #271878 #782718
tetradic
#187827 #183978 #781869 #785718
square
#187827 #183978 #781869 #785718
split-complementary
#187827 #571878 #781839
monochromatic
#051A08 #0E4516 #187827 #22AB38 #34D64D

Accessibility & contrast

On white

5.59
#187827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#187827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187827
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187827#FFFFFF#000000##FFFFFF
##1878271.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1D
Deuteranopia (green-blind)
#6F652E
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187827;
/* rgb */ color: rgb(24, 120, 39);
/* oklch */ color: oklch(50.2% 0.145 145.1);
Tailwind
colors: {
  custom: {
    50: '#67a065',
    500: '#187827',
    950: '#000000',
  },
}
SCSS
$custom: #187827;
$custom-light: #67a065;
$custom-dark: #000000;
JSON
{
  "hex": "#187827",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 39
  },
  "hsl": {
    "h": 129.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.14526,
    "h": 145.1
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#187827
secondary
#AD3F9C
accent
#3ECFEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #187827

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

Preview Lab → · Contrast checker → · Palette generator →

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