#185828#185828

#185828 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.101 H 148.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#185828
RGBrgb(24, 88, 40)
HSLhsl(135, 57%, 22%)
HSVhsv(135, 73%, 35%)
CMYKcmyk(72.7%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.54, -31.76, 21.98)
CIE-LCHlch(32.54, 38.63, 145.31°)
OKLaboklab(40.77% -0.0856 0.0532)
OKLCHoklch(40.77% 0.101 148.1)
XYZxyz(4.2491, 7.3264, 3.1973)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185828 #581848
analogous
#285818 #185828 #185848
triadic
#185828 #281858 #582818
tetradic
#185828 #182858 #581848 #584818
square
#185828 #182858 #581848 #584818
split-complementary
#185828 #481858 #581828
monochromatic
#07180B #0B2812 #185828 #25883E #32B854

Accessibility & contrast

On white

8.52
#185828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#185828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185828
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185828#FFFFFF#000000##FFFFFF
##1858281.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#01564D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #185828;
/* rgb */ color: rgb(24, 88, 40);
/* oklch */ color: oklch(40.8% 0.101 148.1);
Tailwind
colors: {
  custom: {
    50: '#5e8863',
    500: '#185828',
    950: '#000000',
  },
}
SCSS
$custom: #185828;
$custom-light: #5e8863;
$custom-dark: #000000;
JSON
{
  "hex": "#185828",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 135,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.10082,
    "h": 148.1
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#185828
secondary
#8F3D7A
accent
#47BAE0
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185828

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

Preview Lab → · Contrast checker → · Palette generator →

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