#175215#175215

#175215 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.110 H 142.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#175215
RGBrgb(23, 82, 21)
HSLhsl(118, 59%, 20%)
HSVhsv(118, 74%, 32%)
CMYKcmyk(72%, 0%, 74.4%, 67.8%)
CIE-LABlab(30.08, -32.20, 29.13)
CIE-LCHlch(30.08, 43.42, 137.87°)
OKLaboklab(38.66% -0.0876 0.0669)
OKLCHoklch(38.66% 0.11 142.6)
XYZxyz(3.5058, 6.2705, 1.7349)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175215 #501552
analogous
#355215 #175215 #155232
triadic
#175215 #151752 #521517
tetradic
#175215 #153552 #501552 #523215
square
#175215 #153552 #501552 #523215
split-complementary
#175215 #321552 #521535
monochromatic
#071806 #092109 #175215 #258321 #32B32E

Accessibility & contrast

On white

9.32
#175215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#175215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175215
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175215#FFFFFF#000000##FFFFFF
##1752151.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#0A4F46
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175215;
/* rgb */ color: rgb(23, 82, 21);
/* oklch */ color: oklch(38.7% 0.110 142.6);
Tailwind
colors: {
  custom: {
    50: '#5e8356',
    500: '#175215',
    950: '#000000',
  },
}
SCSS
$custom: #175215;
$custom-light: #5e8356;
$custom-dark: #000000;
JSON
{
  "hex": "#175215",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 118.033,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.11018,
    "h": 142.6
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#175215
secondary
#87398A
accent
#45E2DD
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175215

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

Preview Lab → · Contrast checker → · Palette generator →

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