#186928#186928

#186928 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.125 H 146.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#186928
RGBrgb(24, 105, 40)
HSLhsl(132, 63%, 25%)
HSVhsv(132, 77%, 41%)
CMYKcmyk(77.1%, 0%, 61.9%, 58.8%)
CIE-LABlab(38.64, -38.54, 29.32)
CIE-LCHlch(38.64, 48.42, 142.74°)
OKLaboklab(45.82% -0.1039 0.0694)
OKLCHoklch(45.82% 0.125 146.3)
XYZxyz(5.8108, 10.4499, 3.7179)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186928 #691859
analogous
#306918 #186928 #186950
triadic
#186928 #281869 #692818
tetradic
#186928 #183069 #691859 #695018
square
#186928 #183069 #691859 #695018
split-complementary
#186928 #501869 #691830
monochromatic
#061909 #0D3715 #186928 #239B3B #2FCD4E

Accessibility & contrast

On white

6.80
#186928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#186928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186928
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186928#FFFFFF#000000##FFFFFF
##1869281.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F21
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186928;
/* rgb */ color: rgb(24, 105, 40);
/* oklch */ color: oklch(45.8% 0.125 146.3);
Tailwind
colors: {
  custom: {
    50: '#639564',
    500: '#186928',
    950: '#000000',
  },
}
SCSS
$custom: #186928;
$custom-light: #639564;
$custom-dark: #000000;
JSON
{
  "hex": "#186928",
  "rgb": {
    "r": 24,
    "g": 105,
    "b": 40
  },
  "hsl": {
    "h": 131.852,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.1249,
    "h": 146.3
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#186928
secondary
#9F3E8C
accent
#42C5E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #186928

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

Preview Lab → · Contrast checker → · Palette generator →

#186928 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva