#186731#186731

#186731 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.114 H 149.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#186731
RGBrgb(24, 103, 49)
HSLhsl(139, 62%, 25%)
HSVhsv(139, 77%, 40%)
CMYKcmyk(76.7%, 0%, 52.4%, 59.6%)
CIE-LABlab(38.05, -36.34, 23.77)
CIE-LCHlch(38.05, 43.42, 146.81°)
OKLaboklab(45.37% -0.0978 0.0577)
OKLCHoklch(45.37% 0.114 149.4)
XYZxyz(5.7808, 10.1158, 4.5530)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186731 #67184E
analogous
#276718 #186731 #186758
triadic
#186731 #311867 #673118
tetradic
#186731 #182767 #67184E #675818
square
#186731 #182767 #67184E #675818
split-complementary
#186731 #581867 #671827
monochromatic
#06190C #0C3519 #186731 #249949 #2FCA60

Accessibility & contrast

On white

6.95
#186731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#186731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186731
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186731#FFFFFF#000000##FFFFFF
##1867311.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685E2D
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#00655A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186731;
/* rgb */ color: rgb(24, 103, 49);
/* oklch */ color: oklch(45.4% 0.114 149.4);
Tailwind
colors: {
  custom: {
    50: '#62936a',
    500: '#186731',
    950: '#000000',
  },
}
SCSS
$custom: #186731;
$custom-light: #62936a;
$custom-dark: #000000;
JSON
{
  "hex": "#186731",
  "rgb": {
    "r": 24,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 138.987,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45372,
    "c": 0.11355,
    "h": 149.4
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#186731
secondary
#9D3E7F
accent
#43B2E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186731

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

Preview Lab → · Contrast checker → · Palette generator →

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