#186F23#186F23

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

Color values

HEX#186F23
RGBrgb(24, 111, 35)
HSLhsl(128, 64%, 26%)
HSVhsv(128, 78%, 44%)
CMYKcmyk(78.4%, 0%, 68.5%, 56.5%)
CIE-LABlab(40.71, -41.40, 34.12)
CIE-LCHlch(40.71, 53.65, 140.50°)
OKLaboklab(47.52% -0.1118 0.0792)
OKLCHoklch(47.52% 0.137 144.7)
XYZxyz(6.3641, 11.6837, 3.5096)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186F23 #6F1864
analogous
#396F18 #186F23 #186F4F
triadic
#186F23 #23186F #6F2318
tetradic
#186F23 #18396F #6F1864 #6F4F18
square
#186F23 #18396F #6F1864 #6F4F18
split-complementary
#186F23 #4F186F #6F1839
monochromatic
#051908 #0D3D13 #186F23 #23A133 #2FD244

Accessibility & contrast

On white

6.29
#186F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#186F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186F23
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186F23#FFFFFF#000000##FFFFFF
##186F231.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716419
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #186f23;
/* rgb */ color: rgb(24, 111, 35);
/* oklch */ color: oklch(47.5% 0.137 144.7);
Tailwind
colors: {
  custom: {
    50: '#659962',
    500: '#186f23',
    950: '#000000',
  },
}
SCSS
$custom: #186f23;
$custom-light: #659962;
$custom-dark: #000000;
JSON
{
  "hex": "#186f23",
  "rgb": {
    "r": 24,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 127.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.13701,
    "h": 144.7
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#186F23
secondary
#A53E98
accent
#40D2E7
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #186F23

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

Preview Lab → · Contrast checker → · Palette generator →

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