#175312#175312

#175312 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.114 H 142.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#175312
RGBrgb(23, 83, 18)
HSLhsl(115, 64%, 20%)
HSVhsv(115, 78%, 33%)
CMYKcmyk(72.3%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.43, -32.90, 30.84)
CIE-LCHlch(30.43, 45.09, 136.86°)
OKLaboklab(38.94% -0.0896 0.07)
OKLCHoklch(38.94% 0.114 142)
XYZxyz(3.5556, 6.4120, 1.6224)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175312 #4E1253
analogous
#375312 #175312 #12532E
triadic
#175312 #121753 #531217
tetradic
#175312 #123753 #4E1253 #532E12
square
#175312 #123753 #4E1253 #532E12
split-complementary
#175312 #2E1253 #531237
monochromatic
#071905 #092107 #175312 #25851D #33B828

Accessibility & contrast

On white

9.20
#175312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#175312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175312
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175312#FFFFFF#000000##FFFFFF
##1753121.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#0A5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #175312;
/* rgb */ color: rgb(23, 83, 18);
/* oklch */ color: oklch(38.9% 0.114 142.0);
Tailwind
colors: {
  custom: {
    50: '#5e8454',
    500: '#175312',
    950: '#000000',
  },
}
SCSS
$custom: #175312;
$custom-light: #5e8454;
$custom-dark: #000000;
JSON
{
  "hex": "#175312",
  "rgb": {
    "r": 23,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 115.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.11374,
    "h": 142
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#175312
secondary
#85358C
accent
#40E7DB
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #175312

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

Preview Lab → · Contrast checker → · Palette generator →

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