#185B22#185B22

#185B22 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.111 H 145.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#185B22
RGBrgb(24, 91, 34)
HSLhsl(129, 58%, 23%)
HSVhsv(129, 74%, 36%)
CMYKcmyk(73.6%, 0%, 62.6%, 64.3%)
CIE-LABlab(33.54, -33.94, 26.50)
CIE-LCHlch(33.54, 43.06, 142.02°)
OKLaboklab(41.58% -0.0917 0.0627)
OKLCHoklch(41.58% 0.111 145.6)
XYZxyz(4.4062, 7.7914, 2.7847)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185B22 #5B1851
analogous
#305B18 #185B22 #185B43
triadic
#185B22 #22185B #5B2218
tetradic
#185B22 #18305B #5B1851 #5B4318
square
#185B22 #18305B #5B1851 #5B4318
split-complementary
#185B22 #43185B #5B1830
monochromatic
#061809 #0B2B10 #185B22 #258B34 #32BC46

Accessibility & contrast

On white

8.21
#185B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#185B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185B22
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185B22#FFFFFF#000000##FFFFFF
##185B221.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521C
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#02594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #185b22;
/* rgb */ color: rgb(24, 91, 34);
/* oklch */ color: oklch(41.6% 0.111 145.6);
Tailwind
colors: {
  custom: {
    50: '#608a5f',
    500: '#185b22',
    950: '#000000',
  },
}
SCSS
$custom: #185b22;
$custom-light: #608a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#185b22",
  "rgb": {
    "r": 24,
    "g": 91,
    "b": 34
  },
  "hsl": {
    "h": 128.955,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.11106,
    "h": 145.6
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#185B22
secondary
#923D85
accent
#46CAE1
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #185B22

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

Preview Lab → · Contrast checker → · Palette generator →

#185B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva