#186B20#186B20

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

Color values

HEX#186B20
RGBrgb(24, 107, 32)
HSLhsl(126, 63%, 26%)
HSVhsv(126, 78%, 42%)
CMYKcmyk(77.6%, 0%, 70.1%, 58%)
CIE-LABlab(39.26, -40.29, 33.93)
CIE-LCHlch(39.26, 52.68, 139.90°)
OKLaboklab(46.31% -0.109 0.0784)
OKLCHoklch(46.31% 0.134 144.3)
XYZxyz(5.8947, 10.8132, 3.1427)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186B20 #6B1863
analogous
#396B18 #186B20 #186B49
triadic
#186B20 #20186B #6B2018
tetradic
#186B20 #18396B #6B1863 #6B4918
square
#186B20 #18396B #6B1863 #6B4918
split-complementary
#186B20 #49186B #6B1839
monochromatic
#061907 #0D3911 #186B20 #239D2F #2ECF3E

Accessibility & contrast

On white

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

On black

3.16
#186B20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##186B20#FFFFFF#000000##FFFFFF
##186B201.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186b20;
/* rgb */ color: rgb(24, 107, 32);
/* oklch */ color: oklch(46.3% 0.134 144.3);
Tailwind
colors: {
  custom: {
    50: '#64965f',
    500: '#186b20',
    950: '#000000',
  },
}
SCSS
$custom: #186b20;
$custom-light: #64965f;
$custom-dark: #000000;
JSON
{
  "hex": "#186b20",
  "rgb": {
    "r": 24,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 125.783,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.13424,
    "h": 144.3
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#186B20
secondary
#A13E97
accent
#41D6E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186B20

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

Preview Lab → · Contrast checker → · Palette generator →

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