#186E20#186E20

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

Color values

HEX#186E20
RGBrgb(24, 110, 32)
HSLhsl(126, 64%, 26%)
HSVhsv(126, 78%, 43%)
CMYKcmyk(78.2%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.33, -41.38, 35.08)
CIE-LCHlch(40.33, 54.25, 139.71°)
OKLaboklab(47.19% -0.1119 0.0808)
OKLCHoklch(47.19% 0.138 144.2)
XYZxyz(6.2129, 11.4496, 3.2488)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186E20 #6E1866
analogous
#3B6E18 #186E20 #186E4B
triadic
#186E20 #20186E #6E2018
tetradic
#186E20 #183B6E #6E1866 #6E4B18
square
#186E20 #183B6E #6E1866 #6E4B18
split-complementary
#186E20 #4B186E #6E183B
monochromatic
#051907 #0D3C11 #186E20 #23A02F #2FD23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186E20#FFFFFF#000000##FFFFFF
##186E201.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)
#706315
Deuteranopia (green-blind)
#675C27
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #186e20;
/* rgb */ color: rgb(24, 110, 32);
/* oklch */ color: oklch(47.2% 0.138 144.2);
Tailwind
colors: {
  custom: {
    50: '#659860',
    500: '#186e20',
    950: '#000000',
  },
}
SCSS
$custom: #186e20;
$custom-light: #659860;
$custom-dark: #000000;
JSON
{
  "hex": "#186e20",
  "rgb": {
    "r": 24,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 125.581,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.13805,
    "h": 144.2
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#186E20
secondary
#A43E9A
accent
#41D8E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186E20

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

Preview Lab → · Contrast checker → · Palette generator →

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