#186229#186229

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

Color values

HEX#186229
RGBrgb(24, 98, 41)
HSLhsl(134, 61%, 24%)
HSVhsv(134, 76%, 38%)
CMYKcmyk(75.5%, 0%, 58.2%, 61.6%)
CIE-LABlab(36.16, -35.68, 25.85)
CIE-LCHlch(36.16, 44.05, 144.08°)
OKLaboklab(43.77% -0.0961 0.0619)
OKLCHoklch(43.77% 0.114 147.2)
XYZxyz(5.1442, 9.0891, 3.5806)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186229 #621851
analogous
#2C6218 #186229 #18624E
triadic
#186229 #291862 #622918
tetradic
#186229 #182C62 #621851 #624E18
square
#186229 #182C62 #621851 #624E18
split-complementary
#186229 #4E1862 #62182C
monochromatic
#06190A #0C3114 #186229 #24933E #30C452

Accessibility & contrast

On white

7.45
#186229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #186229
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186229#FFFFFF#000000##FFFFFF
##1862291.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #186229;
/* rgb */ color: rgb(24, 98, 41);
/* oklch */ color: oklch(43.8% 0.114 147.2);
Tailwind
colors: {
  custom: {
    50: '#618f64',
    500: '#186229',
    950: '#000000',
  },
}
SCSS
$custom: #186229;
$custom-light: #618f64;
$custom-dark: #000000;
JSON
{
  "hex": "#186229",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 133.784,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.11431,
    "h": 147.2
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#186229
secondary
#983E83
accent
#44BFE4
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #186229

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

Preview Lab → · Contrast checker → · Palette generator →

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