#186A23#186A23

#186A23 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.131 H 145.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#186A23
RGBrgb(24, 106, 35)
HSLhsl(128, 63%, 25%)
HSVhsv(128, 77%, 42%)
CMYKcmyk(77.4%, 0%, 67%, 58.4%)
CIE-LABlab(38.94, -39.57, 32.16)
CIE-LCHlch(38.94, 50.99, 140.90°)
OKLaboklab(46.05% -0.1069 0.075)
OKLCHoklch(46.05% 0.131 145)
XYZxyz(5.8337, 10.6229, 3.3328)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186A23 #6A185F
analogous
#366A18 #186A23 #186A4C
triadic
#186A23 #23186A #6A2318
tetradic
#186A23 #18366A #6A185F #6A4C18
square
#186A23 #18366A #6A185F #6A4C18
split-complementary
#186A23 #4C186A #6A1836
monochromatic
#061908 #0D3813 #186A23 #239C33 #2FCE44

Accessibility & contrast

On white

6.72
#186A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#186A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186A23
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186A23#FFFFFF#000000##FFFFFF
##186A231.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601B
Deuteranopia (green-blind)
#635929
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #186a23;
/* rgb */ color: rgb(24, 106, 35);
/* oklch */ color: oklch(46.1% 0.131 145.0);
Tailwind
colors: {
  custom: {
    50: '#639561',
    500: '#186a23',
    950: '#000000',
  },
}
SCSS
$custom: #186a23;
$custom-light: #639561;
$custom-dark: #000000;
JSON
{
  "hex": "#186a23",
  "rgb": {
    "r": 24,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 128.049,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.13055,
    "h": 145
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#186A23
secondary
#A03E93
accent
#42D0E6
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #186A23

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

Preview Lab → · Contrast checker → · Palette generator →

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