#186F22#186F22

#186F22 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.138 H 144.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#186F22
RGBrgb(24, 111, 34)
HSLhsl(127, 64%, 26%)
HSVhsv(127, 78%, 44%)
CMYKcmyk(78.4%, 0%, 69.4%, 56.5%)
CIE-LABlab(40.70, -41.52, 34.58)
CIE-LCHlch(40.70, 54.03, 140.21°)
OKLaboklab(47.51% -0.1122 0.08)
OKLCHoklch(47.51% 0.138 144.5)
XYZxyz(6.3494, 11.6778, 3.4325)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F22 #6F1865
analogous
#3A6F18 #186F22 #186F4E
triadic
#186F22 #22186F #6F2218
tetradic
#186F22 #183A6F #6F1865 #6F4E18
square
#186F22 #183A6F #6F1865 #6F4E18
split-complementary
#186F22 #4E186F #6F183A
monochromatic
#051908 #0D3D13 #186F22 #23A131 #2FD242

Accessibility & contrast

On white

6.30
#186F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186F22
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F22#FFFFFF#000000##FFFFFF
##186F221.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f22;
/* rgb */ color: rgb(24, 111, 34);
/* oklch */ color: oklch(47.5% 0.138 144.5);
Tailwind
colors: {
  custom: {
    50: '#659961',
    500: '#186f22',
    950: '#000000',
  },
}
SCSS
$custom: #186f22;
$custom-light: #659961;
$custom-dark: #000000;
JSON
{
  "hex": "#186f22",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 126.897,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47509,
    "c": 0.13779,
    "h": 144.5
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#186F22
secondary
#A53E99
accent
#40D4E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186F22

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

Preview Lab → · Contrast checker → · Palette generator →

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