#185E28#185E28

#185E28 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.110 H 147.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#185E28
RGBrgb(24, 94, 40)
HSLhsl(134, 59%, 23%)
HSVhsv(134, 74%, 37%)
CMYKcmyk(74.5%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.71, -34.23, 24.64)
CIE-LCHlch(34.71, 42.18, 144.26°)
OKLaboklab(42.57% -0.0923 0.0591)
OKLCHoklch(42.57% 0.11 147.3)
XYZxyz(4.7620, 8.3523, 3.3683)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185E28 #5E184E
analogous
#2B5E18 #185E28 #185E4B
triadic
#185E28 #28185E #5E2818
tetradic
#185E28 #182B5E #5E184E #5E4B18
square
#185E28 #182B5E #5E184E #5E4B18
split-complementary
#185E28 #4B185E #5E182B
monochromatic
#06180A #0C2D13 #185E28 #248F3D #31C051

Accessibility & contrast

On white

7.86
#185E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#185E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185E28
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185E28#FFFFFF#000000##FFFFFF
##185E281.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #185e28;
/* rgb */ color: rgb(24, 94, 40);
/* oklch */ color: oklch(42.6% 0.110 147.3);
Tailwind
colors: {
  custom: {
    50: '#608c63',
    500: '#185e28',
    950: '#000000',
  },
}
SCSS
$custom: #185e28;
$custom-light: #608c63;
$custom-dark: #000000;
JSON
{
  "hex": "#185e28",
  "rgb": {
    "r": 24,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 133.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.10958,
    "h": 147.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#185E28
secondary
#943D81
accent
#45BFE3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #185E28

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

Preview Lab → · Contrast checker → · Palette generator →

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