#186B22#186B22

#186B22 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.133 H 144.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#186B22
RGBrgb(24, 107, 34)
HSLhsl(127, 63%, 26%)
HSVhsv(127, 78%, 42%)
CMYKcmyk(77.6%, 0%, 68.2%, 58%)
CIE-LABlab(39.28, -40.06, 33.02)
CIE-LCHlch(39.28, 51.92, 140.50°)
OKLaboklab(46.33% -0.1082 0.0767)
OKLCHoklch(46.33% 0.133 144.7)
XYZxyz(5.9227, 10.8244, 3.2902)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B22 #6B1861
analogous
#376B18 #186B22 #186B4B
triadic
#186B22 #22186B #6B2218
tetradic
#186B22 #18376B #6B1861 #6B4B18
square
#186B22 #18376B #6B1861 #6B4B18
split-complementary
#186B22 #4B186B #6B1837
monochromatic
#061908 #0D3912 #186B22 #239D32 #2ECF42

Accessibility & contrast

On white

6.64
#186B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#186B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186B22
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186B22#FFFFFF#000000##FFFFFF
##186B221.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#645A29
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #186b22;
/* rgb */ color: rgb(24, 107, 34);
/* oklch */ color: oklch(46.3% 0.133 144.7);
Tailwind
colors: {
  custom: {
    50: '#649661',
    500: '#186b22',
    950: '#000000',
  },
}
SCSS
$custom: #186b22;
$custom-light: #649661;
$custom-dark: #000000;
JSON
{
  "hex": "#186b22",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 127.229,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.13266,
    "h": 144.7
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#186B22
secondary
#A13E95
accent
#41D3E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186B22

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

Preview Lab → · Contrast checker → · Palette generator →

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