#186E1F#186E1F

#186E1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.139 H 144.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#186E1F
RGBrgb(24, 110, 31)
HSLhsl(125, 64%, 26%)
HSVhsv(125, 78%, 43%)
CMYKcmyk(78.2%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.32, -41.49, 35.52)
CIE-LCHlch(40.32, 54.62, 139.43°)
OKLaboklab(47.18% -0.1123 0.0816)
OKLCHoklch(47.18% 0.139 144)
XYZxyz(6.1995, 11.4443, 3.1783)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186E1F #6E1867
analogous
#3C6E18 #186E1F #186E4A
triadic
#186E1F #1F186E #6E1F18
tetradic
#186E1F #183C6E #6E1867 #6E4A18
square
#186E1F #183C6E #6E1867 #6E4A18
split-complementary
#186E1F #4A186E #6E183C
monochromatic
#051907 #0D3C11 #186E1F #23A02D #2FD23C

Accessibility & contrast

On white

6.38
#186E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#186E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186E1F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186E1F#FFFFFF#000000##FFFFFF
##186E1F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186e1f;
/* rgb */ color: rgb(24, 110, 31);
/* oklch */ color: oklch(47.2% 0.139 144.0);
Tailwind
colors: {
  custom: {
    50: '#65985f',
    500: '#186e1f',
    950: '#000000',
  },
}
SCSS
$custom: #186e1f;
$custom-light: #65985f;
$custom-dark: #000000;
JSON
{
  "hex": "#186e1f",
  "rgb": {
    "r": 24,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 124.884,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.13879,
    "h": 144
  },
  "luminance": 0.11445
}

Semantic roles & 50–950 ramp

primary
#186E1F
secondary
#A43E9B
accent
#41DAE7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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