#186838#186838

#186838 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.108 H 152.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#186838
RGBrgb(24, 104, 56)
HSLhsl(144, 63%, 25%)
HSVhsv(144, 77%, 41%)
CMYKcmyk(76.9%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.52, -35.45, 20.39)
CIE-LCHlch(38.52, 40.90, 150.09°)
OKLaboklab(45.79% -0.0954 0.0503)
OKLCHoklch(45.79% 0.108 152.2)
XYZxyz(6.0403, 10.3796, 5.4257)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186838 #681848
analogous
#206818 #186838 #186860
triadic
#186838 #381868 #683818
tetradic
#186838 #182068 #681848 #686018
square
#186838 #182068 #681848 #686018
split-complementary
#186838 #601868 #681820
monochromatic
#06190D #0D361D #186838 #239A53 #2FCB6E

Accessibility & contrast

On white

6.83
#186838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#186838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186838
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186838#FFFFFF#000000##FFFFFF
##1868381.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #186838;
/* rgb */ color: rgb(24, 104, 56);
/* oklch */ color: oklch(45.8% 0.108 152.2);
Tailwind
colors: {
  custom: {
    50: '#62946f',
    500: '#186838',
    950: '#000000',
  },
}
SCSS
$custom: #186838;
$custom-light: #62946f;
$custom-dark: #000000;
JSON
{
  "hex": "#186838",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 144,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.10789,
    "h": 152.2
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

primary
#186838
secondary
#9E3E78
accent
#42A4E6
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #186838

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

Preview Lab → · Contrast checker → · Palette generator →

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