#186E1B#186E1B

#186E1B is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.142 H 143.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#186E1B
RGBrgb(24, 110, 27)
HSLhsl(122, 64%, 26%)
HSVhsv(122, 78%, 43%)
CMYKcmyk(78.2%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.29, -41.88, 37.20)
CIE-LCHlch(40.29, 56.01, 138.39°)
OKLaboklab(47.15% -0.1135 0.0846)
OKLCHoklch(47.15% 0.142 143.3)
XYZxyz(6.1501, 11.4245, 2.9177)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186E1B #6E186B
analogous
#406E18 #186E1B #186E46
triadic
#186E1B #1B186E #6E1B18
tetradic
#186E1B #18406E #6E186B #6E4618
square
#186E1B #18406E #6E186B #6E4618
split-complementary
#186E1B #46186E #6E1840
monochromatic
#051906 #0D3C0F #186E1B #23A027 #2FD235

Accessibility & contrast

On white

6.39
#186E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #186E1B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186E1B#FFFFFF#000000##FFFFFF
##186E1B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630D
Deuteranopia (green-blind)
#675C23
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186e1b;
/* rgb */ color: rgb(24, 110, 27);
/* oklch */ color: oklch(47.1% 0.142 143.3);
Tailwind
colors: {
  custom: {
    50: '#65995d',
    500: '#186e1b',
    950: '#000000',
  },
}
SCSS
$custom: #186e1b;
$custom-light: #65995d;
$custom-dark: #000000;
JSON
{
  "hex": "#186e1b",
  "rgb": {
    "r": 24,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 122.093,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.14159,
    "h": 143.3
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#186E1B
secondary
#A43EA0
accent
#41E1E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #186E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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