#186F28#186F28

#186F28 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.133 H 145.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#186F28
RGBrgb(24, 111, 40)
HSLhsl(131, 64%, 26%)
HSVhsv(131, 78%, 44%)
CMYKcmyk(78.4%, 0%, 64%, 56.5%)
CIE-LABlab(40.76, -40.78, 31.77)
CIE-LCHlch(40.76, 51.70, 142.08°)
OKLaboklab(47.58% -0.1099 0.0747)
OKLCHoklch(47.58% 0.133 145.8)
XYZxyz(6.4437, 11.7155, 3.9288)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F28 #6F185F
analogous
#346F18 #186F28 #186F54
triadic
#186F28 #28186F #6F2818
tetradic
#186F28 #18346F #6F185F #6F5418
square
#186F28 #18346F #6F185F #6F5418
split-complementary
#186F28 #54186F #6F1834
monochromatic
#051909 #0D3D16 #186F28 #23A13A #2FD24D

Accessibility & contrast

On white

6.28
#186F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#186F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F28
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F28#FFFFFF#000000##FFFFFF
##186F281.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716420
Deuteranopia (green-blind)
#675D2E
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f28;
/* rgb */ color: rgb(24, 111, 40);
/* oklch */ color: oklch(47.6% 0.133 145.8);
Tailwind
colors: {
  custom: {
    50: '#659965',
    500: '#186f28',
    950: '#000000',
  },
}
SCSS
$custom: #186f28;
$custom-light: #659965;
$custom-dark: #000000;
JSON
{
  "hex": "#186f28",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 131.034,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.13289,
    "h": 145.8
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#186F28
secondary
#A53E92
accent
#40C9E7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #186F28

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

Preview Lab → · Contrast checker → · Palette generator →

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