#186238#186238

#186238 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.099 H 153.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#186238
RGBrgb(24, 98, 56)
HSLhsl(146, 61%, 24%)
HSVhsv(146, 76%, 38%)
CMYKcmyk(75.5%, 0%, 42.9%, 61.6%)
CIE-LABlab(36.39, -32.94, 17.63)
CIE-LCHlch(36.39, 37.36, 151.85°)
OKLaboklab(44.04% -0.0888 0.0438)
OKLCHoklch(44.04% 0.099 153.7)
XYZxyz(5.4577, 9.2145, 5.2316)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186238 #621842
analogous
#1D6218 #186238 #18625D
triadic
#186238 #381862 #623818
tetradic
#186238 #181D62 #621842 #625D18
square
#186238 #181D62 #621842 #625D18
split-complementary
#186238 #5D1862 #62181D
monochromatic
#06190E #0C311C #186238 #249354 #30C470

Accessibility & contrast

On white

7.39
#186238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#186238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186238
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186238#FFFFFF#000000##FFFFFF
##1862381.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625935
Deuteranopia (green-blind)
#59533B
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #186238;
/* rgb */ color: rgb(24, 98, 56);
/* oklch */ color: oklch(44.0% 0.099 153.7);
Tailwind
colors: {
  custom: {
    50: '#618f6f',
    500: '#186238',
    950: '#000000',
  },
}
SCSS
$custom: #186238;
$custom-light: #618f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#186238",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 56
  },
  "hsl": {
    "h": 145.946,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.09908,
    "h": 153.7
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#186238
secondary
#983E71
accent
#449FE4
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #186238

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

Preview Lab → · Contrast checker → · Palette generator →

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