#186B31#186B31

#186B31 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.119 H 148.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#186B31
RGBrgb(24, 107, 49)
HSLhsl(138, 63%, 26%)
HSVhsv(138, 78%, 42%)
CMYKcmyk(77.6%, 0%, 54.2%, 58%)
CIE-LABlab(39.46, -37.92, 25.52)
CIE-LCHlch(39.46, 45.71, 146.05°)
OKLaboklab(46.54% -0.102 0.0617)
OKLCHoklch(46.54% 0.119 148.8)
XYZxyz(6.1883, 10.9306, 4.6888)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B31 #6B1852
analogous
#286B18 #186B31 #186B5A
triadic
#186B31 #31186B #6B3118
tetradic
#186B31 #18286B #6B1852 #6B5A18
square
#186B31 #18286B #6B1852 #6B5A18
split-complementary
#186B31 #5A186B #6B1828
monochromatic
#06190B #0D391A #186B31 #239D48 #2ECF5F

Accessibility & contrast

On white

6.59
#186B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#186B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B31
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B31#FFFFFF#000000##FFFFFF
##186B311.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612C
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b31;
/* rgb */ color: rgb(24, 107, 49);
/* oklch */ color: oklch(46.5% 0.119 148.8);
Tailwind
colors: {
  custom: {
    50: '#63966a',
    500: '#186b31',
    950: '#000000',
  },
}
SCSS
$custom: #186b31;
$custom-light: #63966a;
$custom-dark: #000000;
JSON
{
  "hex": "#186b31",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 49
  },
  "hsl": {
    "h": 138.072,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.11919,
    "h": 148.8
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#186B31
secondary
#A13E83
accent
#41B5E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186B31

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

Preview Lab → · Contrast checker → · Palette generator →

#186B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva