#175918#175918

#175918 is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.117 H 143.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#175918
RGBrgb(23, 89, 24)
HSLhsl(121, 59%, 22%)
HSVhsv(121, 74%, 35%)
CMYKcmyk(74.2%, 0%, 73%, 65.1%)
CIE-LABlab(32.68, -34.63, 30.51)
CIE-LCHlch(32.68, 46.15, 138.61°)
OKLaboklab(40.83% -0.094 0.0702)
OKLCHoklch(40.83% 0.117 143.2)
XYZxyz(4.0904, 7.3924, 2.0753)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175918 #591758
analogous
#375917 #175918 #175939
triadic
#175918 #181759 #591817
tetradic
#175918 #173759 #591758 #593917
square
#175918 #173759 #591758 #593917
split-complementary
#175918 #391759 #591737
monochromatic
#061807 #0A280B #175918 #248A25 #30BA32

Accessibility & contrast

On white

8.47
#175918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#175918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175918
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175918#FFFFFF#000000##FFFFFF
##1759181.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500F
Deuteranopia (green-blind)
#534B1E
Tritanopia (blue-blind)
#05564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #175918;
/* rgb */ color: rgb(23, 89, 24);
/* oklch */ color: oklch(40.8% 0.117 143.2);
Tailwind
colors: {
  custom: {
    50: '#5f8959',
    500: '#175918',
    950: '#000000',
  },
}
SCSS
$custom: #175918;
$custom-light: #5f8959;
$custom-dark: #000000;
JSON
{
  "hex": "#175918",
  "rgb": {
    "r": 23,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 120.909,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.11728,
    "h": 143.2
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#175918
secondary
#903C8F
accent
#46E0E2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175918

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

Preview Lab → · Contrast checker → · Palette generator →

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