#186831#186831

#186831 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.115 H 149.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#186831
RGBrgb(24, 104, 49)
HSLhsl(139, 63%, 25%)
HSVhsv(139, 77%, 41%)
CMYKcmyk(76.9%, 0%, 52.9%, 59.2%)
CIE-LABlab(38.40, -36.74, 24.21)
CIE-LCHlch(38.40, 44.00, 146.61°)
OKLaboklab(45.67% -0.0988 0.0587)
OKLCHoklch(45.67% 0.115 149.3)
XYZxyz(5.8809, 10.3159, 4.5864)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186831 #68184F
analogous
#276818 #186831 #186859
triadic
#186831 #311868 #683118
tetradic
#186831 #182768 #68184F #685918
square
#186831 #182768 #68184F #685918
split-complementary
#186831 #591868 #681827
monochromatic
#06190C #0D361A #186831 #239A48 #2FCB60

Accessibility & contrast

On white

6.86
#186831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#186831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #186831
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186831#FFFFFF#000000##FFFFFF
##1868311.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5835
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #186831;
/* rgb */ color: rgb(24, 104, 49);
/* oklch */ color: oklch(45.7% 0.115 149.3);
Tailwind
colors: {
  custom: {
    50: '#62946a',
    500: '#186831',
    950: '#000000',
  },
}
SCSS
$custom: #186831;
$custom-light: #62946a;
$custom-dark: #000000;
JSON
{
  "hex": "#186831",
  "rgb": {
    "r": 24,
    "g": 104,
    "b": 49
  },
  "hsl": {
    "h": 138.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.11496,
    "h": 149.3
  },
  "luminance": 0.10317
}

Semantic roles & 50–950 ramp

primary
#186831
secondary
#9E3E80
accent
#42B3E6
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #186831

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

Preview Lab → · Contrast checker → · Palette generator →

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