#185628#185628

#185628 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.098 H 148.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#185628
RGBrgb(24, 86, 40)
HSLhsl(135, 56%, 22%)
HSVhsv(135, 72%, 34%)
CMYKcmyk(72.1%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.81, -30.92, 21.08)
CIE-LCHlch(31.81, 37.42, 145.71°)
OKLaboklab(40.17% -0.0834 0.0512)
OKLCHoklch(40.17% 0.098 148.4)
XYZxyz(4.0872, 7.0025, 3.1433)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185628 #561846
analogous
#275618 #185628 #185647
triadic
#185628 #281856 #562818
tetradic
#185628 #182756 #561846 #564718
square
#185628 #182756 #561846 #564718
split-complementary
#185628 #471856 #561827
monochromatic
#07180B #0B2612 #185628 #25863E #33B655

Accessibility & contrast

On white

8.75
#185628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#185628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185628
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185628#FFFFFF#000000##FFFFFF
##1856281.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#02544B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #185628;
/* rgb */ color: rgb(24, 86, 40);
/* oklch */ color: oklch(40.2% 0.098 148.4);
Tailwind
colors: {
  custom: {
    50: '#5e8663',
    500: '#185628',
    950: '#000000',
  },
}
SCSS
$custom: #185628;
$custom-light: #5e8663;
$custom-dark: #000000;
JSON
{
  "hex": "#185628",
  "rgb": {
    "r": 24,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 135.484,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.09782,
    "h": 148.4
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#185628
secondary
#8D3D78
accent
#48B9E0
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #185628

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

Preview Lab → · Contrast checker → · Palette generator →

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