#186227#186227

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

Color values

HEX#186227
RGBrgb(24, 98, 39)
HSLhsl(132, 61%, 24%)
HSVhsv(132, 76%, 38%)
CMYKcmyk(75.5%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.13, -35.98, 26.89)
CIE-LCHlch(36.13, 44.92, 143.23°)
OKLaboklab(43.74% -0.097 0.064)
OKLCHoklch(43.74% 0.116 146.6)
XYZxyz(5.1102, 9.0755, 3.4015)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186227 #621853
analogous
#2E6218 #186227 #18624C
triadic
#186227 #271862 #622718
tetradic
#186227 #182E62 #621853 #624C18
square
#186227 #182E62 #621853 #624C18
split-complementary
#186227 #4C1862 #62182E
monochromatic
#06190A #0C3113 #186227 #24933B #30C44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##186227#FFFFFF#000000##FFFFFF
##1862271.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)
#635921
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186227;
/* rgb */ color: rgb(24, 98, 39);
/* oklch */ color: oklch(43.7% 0.116 146.6);
Tailwind
colors: {
  custom: {
    50: '#618f63',
    500: '#186227',
    950: '#000000',
  },
}
SCSS
$custom: #186227;
$custom-light: #618f63;
$custom-dark: #000000;
JSON
{
  "hex": "#186227",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 132.162,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.11621,
    "h": 146.6
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#186227
secondary
#983E86
accent
#44C3E4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #186227

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

Preview Lab → · Contrast checker → · Palette generator →

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