#186231#186231

#186231 is a dark, moderate green. Relative luminance 0.092; OKLCH L 43.9% C 0.106 H 150.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#186231
RGBrgb(24, 98, 49)
HSLhsl(140, 61%, 24%)
HSVhsv(140, 76%, 38%)
CMYKcmyk(75.5%, 0%, 50%, 61.6%)
CIE-LABlab(36.27, -34.31, 21.53)
CIE-LCHlch(36.27, 40.51, 147.89°)
OKLaboklab(43.9% -0.0924 0.0527)
OKLCHoklch(43.9% 0.106 150.3)
XYZxyz(5.2983, 9.1507, 4.3922)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186231 #621849
analogous
#246218 #186231 #186256
triadic
#186231 #311862 #623118
tetradic
#186231 #182462 #621849 #625618
square
#186231 #182462 #621849 #625618
split-complementary
#186231 #561862 #621824
monochromatic
#06190C #0C3118 #186231 #24934A #30C462

Accessibility & contrast

On white

7.42
#186231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#186231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186231
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186231#FFFFFF#000000##FFFFFF
##1862311.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592D
Deuteranopia (green-blind)
#5A5334
Tritanopia (blue-blind)
#006056
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186231;
/* rgb */ color: rgb(24, 98, 49);
/* oklch */ color: oklch(43.9% 0.106 150.3);
Tailwind
colors: {
  custom: {
    50: '#618f6a',
    500: '#186231',
    950: '#000000',
  },
}
SCSS
$custom: #186231;
$custom-light: #618f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#186231",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 140.27,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43904,
    "c": 0.10633,
    "h": 150.3
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#186231
secondary
#983E7A
accent
#44AEE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C06
muted
#7A7D7A

Preview Lab

Preview with #186231

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

Preview Lab → · Contrast checker → · Palette generator →

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