#186F20#186F20

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

Color values

HEX#186F20
RGBrgb(24, 111, 32)
HSLhsl(126, 64%, 26%)
HSVhsv(126, 78%, 44%)
CMYKcmyk(78.4%, 0%, 71.2%, 56.5%)
CIE-LABlab(40.68, -41.74, 35.46)
CIE-LCHlch(40.68, 54.77, 139.64°)
OKLaboklab(47.49% -0.1129 0.0816)
OKLCHoklch(47.49% 0.139 144.1)
XYZxyz(6.3214, 11.6666, 3.2850)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F20 #6F1867
analogous
#3C6F18 #186F20 #186F4C
triadic
#186F20 #20186F #6F2018
tetradic
#186F20 #183C6F #6F1867 #6F4C18
square
#186F20 #183C6F #6F1867 #6F4C18
split-complementary
#186F20 #4C186F #6F183C
monochromatic
#051907 #0D3D11 #186F20 #23A12F #2FD23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186F20#FFFFFF#000000##FFFFFF
##186F201.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)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f20;
/* rgb */ color: rgb(24, 111, 32);
/* oklch */ color: oklch(47.5% 0.139 144.1);
Tailwind
colors: {
  custom: {
    50: '#659960',
    500: '#186f20',
    950: '#000000',
  },
}
SCSS
$custom: #186f20;
$custom-light: #659960;
$custom-dark: #000000;
JSON
{
  "hex": "#186f20",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 125.517,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.13931,
    "h": 144.1
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#186F20
secondary
#A53E9B
accent
#40D8E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186F20

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

Preview Lab → · Contrast checker → · Palette generator →

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