#187831#187831

#187831 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.137 H 147.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#187831
RGBrgb(24, 120, 49)
HSLhsl(136, 67%, 28%)
HSVhsv(136, 80%, 47%)
CMYKcmyk(80%, 0%, 59.2%, 52.9%)
CIE-LABlab(44.01, -42.83, 31.03)
CIE-LCHlch(44.01, 52.89, 144.08°)
OKLaboklab(50.31% -0.1152 0.0738)
OKLCHoklch(50.31% 0.137 147.3)
XYZxyz(7.6469, 13.8480, 5.1750)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187831 #78185F
analogous
#2F7818 #187831 #187861
triadic
#187831 #311878 #783118
tetradic
#187831 #182F78 #78185F #786118
square
#187831 #182F78 #78185F #786118
split-complementary
#187831 #611878 #78182F
monochromatic
#051A0A #0E451C #187831 #22AB46 #34D65E

Accessibility & contrast

On white

5.57
#187831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#187831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187831
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187831#FFFFFF#000000##FFFFFF
##1878311.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D2A
Deuteranopia (green-blind)
#6F6537
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #187831;
/* rgb */ color: rgb(24, 120, 49);
/* oklch */ color: oklch(50.3% 0.137 147.3);
Tailwind
colors: {
  custom: {
    50: '#66a06b',
    500: '#187831',
    950: '#000000',
  },
}
SCSS
$custom: #187831;
$custom-light: #66a06b;
$custom-dark: #000000;
JSON
{
  "hex": "#187831",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 135.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.13683,
    "h": 147.3
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#187831
secondary
#AD3F90
accent
#3EBDEA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #187831

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

Preview Lab → · Contrast checker → · Palette generator →

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