#175915#175915

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

Color values

HEX#175915
RGBrgb(23, 89, 21)
HSLhsl(118, 62%, 22%)
HSVhsv(118, 76%, 35%)
CMYKcmyk(74.2%, 0%, 76.4%, 65.1%)
CIE-LABlab(32.66, -34.94, 31.84)
CIE-LCHlch(32.66, 47.27, 137.66°)
OKLaboklab(40.79% -0.095 0.0725)
OKLCHoklch(40.79% 0.12 142.6)
XYZxyz(4.0608, 7.3806, 1.9199)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175915 #571559
analogous
#395915 #175915 #155935
triadic
#175915 #151759 #591517
tetradic
#175915 #153959 #571559 #593515
square
#175915 #153959 #571559 #593515
split-complementary
#175915 #351559 #591539
monochromatic
#061906 #0A2709 #175915 #248B21 #31BC2C

Accessibility & contrast

On white

8.48
#175915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175915
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175915#FFFFFF#000000##FFFFFF
##1759151.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500A
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#06564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #175915;
/* rgb */ color: rgb(23, 89, 21);
/* oklch */ color: oklch(40.8% 0.120 142.6);
Tailwind
colors: {
  custom: {
    50: '#5f8957',
    500: '#175915',
    950: '#000000',
  },
}
SCSS
$custom: #175915;
$custom-light: #5f8957;
$custom-dark: #000000;
JSON
{
  "hex": "#175915",
  "rgb": {
    "r": 23,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 118.235,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.11951,
    "h": 142.6
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#175915
secondary
#8E3991
accent
#43E5E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175915

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

Preview Lab → · Contrast checker → · Palette generator →

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