#175115#175115

#175115 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.109 H 142.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#175115
RGBrgb(23, 81, 21)
HSLhsl(118, 59%, 20%)
HSVhsv(118, 74%, 32%)
CMYKcmyk(71.6%, 0%, 74.1%, 68.2%)
CIE-LABlab(29.72, -31.80, 28.74)
CIE-LCHlch(29.72, 42.86, 137.90°)
OKLaboklab(38.36% -0.0865 0.066)
OKLCHoklch(38.36% 0.109 142.6)
XYZxyz(3.4309, 6.1208, 1.7099)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175115 #4F1551
analogous
#355115 #175115 #155131
triadic
#175115 #151751 #511517
tetradic
#175115 #153551 #4F1551 #513115
square
#175115 #153551 #4F1551 #513115
split-complementary
#175115 #311551 #511535
monochromatic
#071806 #092008 #175115 #258222 #33B22E

Accessibility & contrast

On white

9.44
#175115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#175115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175115
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175115#FFFFFF#000000##FFFFFF
##1751151.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#0A4E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175115;
/* rgb */ color: rgb(23, 81, 21);
/* oklch */ color: oklch(38.4% 0.109 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8256',
    500: '#175115',
    950: '#000000',
  },
}
SCSS
$custom: #175115;
$custom-light: #5d8256;
$custom-dark: #000000;
JSON
{
  "hex": "#175115",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 118,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.10881,
    "h": 142.6
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#175115
secondary
#863989
accent
#46E2DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #175115

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

Preview Lab → · Contrast checker → · Palette generator →

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