#186A26#186A26

#186A26 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.128 H 145.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#186A26
RGBrgb(24, 106, 38)
HSLhsl(130, 63%, 25%)
HSVhsv(130, 77%, 42%)
CMYKcmyk(77.4%, 0%, 64.2%, 58.4%)
CIE-LABlab(38.97, -39.19, 30.72)
CIE-LCHlch(38.97, 49.79, 141.91°)
OKLaboklab(46.09% -0.1057 0.0722)
OKLCHoklch(46.09% 0.128 145.7)
XYZxyz(5.8802, 10.6415, 3.5775)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A26 #6A185C
analogous
#336A18 #186A26 #186A4F
triadic
#186A26 #26186A #6A2618
tetradic
#186A26 #18336A #6A185C #6A4F18
square
#186A26 #18336A #6A185C #6A4F18
split-complementary
#186A26 #4F186A #6A1833
monochromatic
#061909 #0D3814 #186A26 #239C38 #2FCE4A

Accessibility & contrast

On white

6.71
#186A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#186A26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A26
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A26#FFFFFF#000000##FFFFFF
##186A261.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601F
Deuteranopia (green-blind)
#62592C
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a26;
/* rgb */ color: rgb(24, 106, 38);
/* oklch */ color: oklch(46.1% 0.128 145.7);
Tailwind
colors: {
  custom: {
    50: '#639563',
    500: '#186a26',
    950: '#000000',
  },
}
SCSS
$custom: #186a26;
$custom-light: #639563;
$custom-dark: #000000;
JSON
{
  "hex": "#186a26",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 38
  },
  "hsl": {
    "h": 130.244,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46088,
    "c": 0.12801,
    "h": 145.7
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#186A26
secondary
#A03E8F
accent
#42CAE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186A26

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

Preview Lab → · Contrast checker → · Palette generator →

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