#186226#186226

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

Color values

HEX#186226
RGBrgb(24, 98, 38)
HSLhsl(131, 61%, 24%)
HSVhsv(131, 76%, 38%)
CMYKcmyk(75.5%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.12, -36.13, 27.40)
CIE-LCHlch(36.12, 45.34, 142.82°)
OKLaboklab(43.72% -0.0974 0.065)
OKLCHoklch(43.72% 0.117 146.3)
XYZxyz(5.0939, 9.0689, 3.3154)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186226 #621854
analogous
#2F6218 #186226 #18624B
triadic
#186226 #261862 #622618
tetradic
#186226 #182F62 #621854 #624B18
square
#186226 #182F62 #621854 #624B18
split-complementary
#186226 #4B1862 #62182F
monochromatic
#06190A #0C3113 #186226 #249339 #30C44C

Accessibility & contrast

On white

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

On black

2.81
#186226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##186226#FFFFFF#000000##FFFFFF
##1862261.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186226;
/* rgb */ color: rgb(24, 98, 38);
/* oklch */ color: oklch(43.7% 0.117 146.3);
Tailwind
colors: {
  custom: {
    50: '#618f62',
    500: '#186226',
    950: '#000000',
  },
}
SCSS
$custom: #186226;
$custom-light: #618f62;
$custom-dark: #000000;
JSON
{
  "hex": "#186226",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 131.351,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43724,
    "c": 0.11714,
    "h": 146.3
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#186226
secondary
#983E87
accent
#44C6E4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #186226

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

Preview Lab → · Contrast checker → · Palette generator →

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