#186F1F#186F1F

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

Color values

HEX#186F1F
RGBrgb(24, 111, 31)
HSLhsl(125, 64%, 26%)
HSVhsv(125, 78%, 44%)
CMYKcmyk(78.4%, 0%, 72.1%, 56.5%)
CIE-LABlab(40.67, -41.84, 35.90)
CIE-LCHlch(40.67, 55.13, 139.37°)
OKLaboklab(47.48% -0.1132 0.0824)
OKLCHoklch(47.48% 0.14 144)
XYZxyz(6.3080, 11.6613, 3.2145)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F1F #6F1868
analogous
#3D6F18 #186F1F #186F4B
triadic
#186F1F #1F186F #6F1F18
tetradic
#186F1F #183D6F #6F1868 #6F4B18
square
#186F1F #183D6F #6F1868 #6F4B18
split-complementary
#186F1F #4B186F #6F183D
monochromatic
#051907 #0D3D11 #186F1F #23A12D #2FD23C

Accessibility & contrast

On white

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

On black

3.33
#186F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##186F1F#FFFFFF#000000##FFFFFF
##186F1F1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#685D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f1f;
/* rgb */ color: rgb(24, 111, 31);
/* oklch */ color: oklch(47.5% 0.140 144.0);
Tailwind
colors: {
  custom: {
    50: '#65995f',
    500: '#186f1f',
    950: '#000000',
  },
}
SCSS
$custom: #186f1f;
$custom-light: #65995f;
$custom-dark: #000000;
JSON
{
  "hex": "#186f1f",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 124.828,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.14004,
    "h": 144
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#186F1F
secondary
#A53E9C
accent
#40DAE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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