#185938#185938

#185938 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.085 H 156.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#185938
RGBrgb(24, 89, 56)
HSLhsl(150, 58%, 22%)
HSVhsv(150, 73%, 35%)
CMYKcmyk(73%, 0%, 37.1%, 65.1%)
CIE-LABlab(33.19, -28.98, 13.35)
CIE-LCHlch(33.19, 31.91, 155.27°)
OKLaboklab(41.4% -0.0786 0.0336)
OKLCHoklch(41.4% 0.085 156.8)
XYZxyz(4.6624, 7.6240, 4.9665)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185938 #591839
analogous
#195918 #185938 #185958
triadic
#185938 #381859 #593818
tetradic
#185938 #181959 #591839 #595818
square
#185938 #181959 #591839 #595818
split-complementary
#185938 #581859 #591819
monochromatic
#06180F #0B291A #185938 #258956 #32B975

Accessibility & contrast

On white

8.32
#185938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#185938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185938
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185938#FFFFFF#000000##FFFFFF
##1859381.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585236
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#005850
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #185938;
/* rgb */ color: rgb(24, 89, 56);
/* oklch */ color: oklch(41.4% 0.085 156.8);
Tailwind
colors: {
  custom: {
    50: '#5e886e',
    500: '#185938',
    950: '#000000',
  },
}
SCSS
$custom: #185938;
$custom-light: #5e886e;
$custom-dark: #000000;
JSON
{
  "hex": "#185938",
  "rgb": {
    "r": 24,
    "g": 89,
    "b": 56
  },
  "hsl": {
    "h": 149.538,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.08548,
    "h": 156.8
  },
  "luminance": 0.07624
}

Semantic roles & 50–950 ramp

primary
#185938
secondary
#903D67
accent
#4795E1
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #185938

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

Preview Lab → · Contrast checker → · Palette generator →

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