#186228#186228

#186228 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.8% C 0.115 H 146.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#186228
RGBrgb(24, 98, 40)
HSLhsl(133, 61%, 24%)
HSVhsv(133, 76%, 38%)
CMYKcmyk(75.5%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.14, -35.83, 26.37)
CIE-LCHlch(36.14, 44.49, 143.65°)
OKLaboklab(43.75% -0.0966 0.0629)
OKLCHoklch(43.75% 0.115 146.9)
XYZxyz(5.1270, 9.0822, 3.4899)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186228 #621852
analogous
#2D6218 #186228 #18624D
triadic
#186228 #281862 #622818
tetradic
#186228 #182D62 #621852 #624D18
square
#186228 #182D62 #621852 #624D18
split-complementary
#186228 #4D1862 #62182D
monochromatic
#06190A #0C3114 #186228 #24933C #30C450

Accessibility & contrast

On white

7.46
#186228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#186228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186228
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186228#FFFFFF#000000##FFFFFF
##1862281.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635923
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186228;
/* rgb */ color: rgb(24, 98, 40);
/* oklch */ color: oklch(43.8% 0.115 146.9);
Tailwind
colors: {
  custom: {
    50: '#618f64',
    500: '#186228',
    950: '#000000',
  },
}
SCSS
$custom: #186228;
$custom-light: #618f64;
$custom-dark: #000000;
JSON
{
  "hex": "#186228",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 132.973,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.11526,
    "h": 146.9
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#186228
secondary
#983E85
accent
#44C1E4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #186228

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

Preview Lab → · Contrast checker → · Palette generator →

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