#186213#186213

#186213 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.132 H 142.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#186213
RGBrgb(24, 98, 19)
HSLhsl(116, 68%, 23%)
HSVhsv(116, 81%, 38%)
CMYKcmyk(75.5%, 0%, 80.6%, 61.6%)
CIE-LABlab(35.94, -38.27, 35.98)
CIE-LCHlch(35.94, 52.53, 136.77°)
OKLaboklab(43.52% -0.1042 0.0809)
OKLCHoklch(43.52% 0.132 142.2)
XYZxyz(4.8616, 8.9760, 2.0923)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186213 #5D1362
analogous
#3F6213 #186213 #136236
triadic
#186213 #131862 #621318
tetradic
#186213 #133F62 #5D1362 #623613
square
#186213 #133F62 #5D1362 #623613
split-complementary
#186213 #361362 #62133F
monochromatic
#061A05 #0B2F09 #186213 #25951D #31C927

Accessibility & contrast

On white

7.51
#186213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#186213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #186213
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186213#FFFFFF#000000##FFFFFF
##1862131.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645803
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#035F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186213;
/* rgb */ color: rgb(24, 98, 19);
/* oklch */ color: oklch(43.5% 0.132 142.2);
Tailwind
colors: {
  custom: {
    50: '#628f57',
    500: '#186213',
    950: '#000000',
  },
}
SCSS
$custom: #186213;
$custom-light: #628f57;
$custom-dark: #000000;
JSON
{
  "hex": "#186213",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 116.203,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.13188,
    "h": 142.2
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#186213
secondary
#93379A
accent
#3DEADF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #186213

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

Preview Lab → · Contrast checker → · Palette generator →

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