#175822#175822

#175822 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.107 H 146.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#175822
RGBrgb(23, 88, 34)
HSLhsl(130, 59%, 22%)
HSVhsv(130, 74%, 35%)
CMYKcmyk(73.9%, 0%, 61.4%, 65.5%)
CIE-LABlab(32.43, -32.94, 25.18)
CIE-LCHlch(32.43, 41.46, 142.61°)
OKLaboklab(40.65% -0.0889 0.0598)
OKLCHoklch(40.65% 0.107 146.1)
XYZxyz(4.1315, 7.2767, 2.6999)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175822 #58174D
analogous
#2D5817 #175822 #175843
triadic
#175822 #221758 #582217
tetradic
#175822 #172D58 #58174D #584317
square
#175822 #172D58 #58174D #584317
split-complementary
#175822 #431758 #58172D
monochromatic
#061809 #0A270F #175822 #248935 #30B947

Accessibility & contrast

On white

8.55
#175822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175822
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175822#FFFFFF#000000##FFFFFF
##1758221.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59501D
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#01564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #175822;
/* rgb */ color: rgb(23, 88, 34);
/* oklch */ color: oklch(40.6% 0.107 146.1);
Tailwind
colors: {
  custom: {
    50: '#5e885f',
    500: '#175822',
    950: '#000000',
  },
}
SCSS
$custom: #175822;
$custom-light: #5e885f;
$custom-dark: #000000;
JSON
{
  "hex": "#175822",
  "rgb": {
    "r": 23,
    "g": 88,
    "b": 34
  },
  "hsl": {
    "h": 130.154,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.10718,
    "h": 146.1
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#175822
secondary
#8F3C81
accent
#46C7E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #175822

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

Preview Lab → · Contrast checker → · Palette generator →

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