#186223#186223

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

Color values

HEX#186223
RGBrgb(24, 98, 35)
HSLhsl(129, 61%, 24%)
HSVhsv(129, 76%, 38%)
CMYKcmyk(75.5%, 0%, 64.3%, 61.6%)
CIE-LABlab(36.08, -36.55, 28.92)
CIE-LCHlch(36.08, 46.61, 141.65°)
OKLaboklab(43.68% -0.0987 0.068)
OKLCHoklch(43.68% 0.12 145.4)
XYZxyz(5.0474, 9.0503, 3.0707)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#186223 #621857
analogous
#326218 #186223 #186248
triadic
#186223 #231862 #622318
tetradic
#186223 #183262 #621857 #624818
square
#186223 #183262 #621857 #624818
split-complementary
#186223 #481862 #621832
monochromatic
#061909 #0C3111 #186223 #249335 #30C446

Accessibility & contrast

On white

7.47
#186223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #186223
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##186223#FFFFFF#000000##FFFFFF
##1862231.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591C
Deuteranopia (green-blind)
#5B5328
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #186223;
/* rgb */ color: rgb(24, 98, 35);
/* oklch */ color: oklch(43.7% 0.120 145.4);
Tailwind
colors: {
  custom: {
    50: '#618f60',
    500: '#186223',
    950: '#000000',
  },
}
SCSS
$custom: #186223;
$custom-light: #618f60;
$custom-dark: #000000;
JSON
{
  "hex": "#186223",
  "rgb": {
    "r": 24,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 128.919,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.11987,
    "h": 145.4
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#186223
secondary
#983E8B
accent
#44CCE4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #186223

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

Preview Lab → · Contrast checker → · Palette generator →

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