#175828#175828

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

Color values

HEX#175828
RGBrgb(23, 88, 40)
HSLhsl(136, 59%, 22%)
HSVhsv(136, 74%, 35%)
CMYKcmyk(73.9%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.51, -31.97, 21.95)
CIE-LCHlch(32.51, 38.78, 145.53°)
OKLaboklab(40.74% -0.0862 0.0531)
OKLCHoklch(40.74% 0.101 148.3)
XYZxyz(4.2258, 7.3143, 3.1962)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175828 #581747
analogous
#275817 #175828 #175849
triadic
#175828 #281758 #582817
tetradic
#175828 #172758 #581747 #584917
square
#175828 #172758 #581747 #584917
split-complementary
#175828 #491758 #581727
monochromatic
#06180B #0A2712 #175828 #24893E #30B954

Accessibility & contrast

On white

8.53
#175828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#175828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175828
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175828#FFFFFF#000000##FFFFFF
##1758281.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175828;
/* rgb */ color: rgb(23, 88, 40);
/* oklch */ color: oklch(40.7% 0.101 148.3);
Tailwind
colors: {
  custom: {
    50: '#5e8863',
    500: '#175828',
    950: '#000000',
  },
}
SCSS
$custom: #175828;
$custom-light: #5e8863;
$custom-dark: #000000;
JSON
{
  "hex": "#175828",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 135.692,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.10122,
    "h": 148.3
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#175828
secondary
#8F3C79
accent
#46B9E2
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #175828

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

Preview Lab → · Contrast checker → · Palette generator →

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