#175118#175118

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

Color values

HEX#175118
RGBrgb(23, 81, 24)
HSLhsl(121, 56%, 20%)
HSVhsv(121, 72%, 32%)
CMYKcmyk(71.6%, 0%, 70.4%, 68.2%)
CIE-LABlab(29.74, -31.46, 27.31)
CIE-LCHlch(29.74, 41.66, 139.04°)
OKLaboklab(38.39% -0.0854 0.0634)
OKLCHoklch(38.39% 0.106 143.4)
XYZxyz(3.4604, 6.1326, 1.8653)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175118 #511750
analogous
#335117 #175118 #175135
triadic
#175118 #181751 #511817
tetradic
#175118 #173351 #511750 #513517
square
#175118 #173351 #511750 #513517
split-complementary
#175118 #351751 #511733
monochromatic
#071807 #09210A #175118 #258126 #32B034

Accessibility & contrast

On white

9.43
#175118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#175118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175118
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175118#FFFFFF#000000##FFFFFF
##1751181.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#094F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175118;
/* rgb */ color: rgb(23, 81, 24);
/* oklch */ color: oklch(38.4% 0.106 143.4);
Tailwind
colors: {
  custom: {
    50: '#5d8258',
    500: '#175118',
    950: '#000000',
  },
}
SCSS
$custom: #175118;
$custom-light: #5d8258;
$custom-dark: #000000;
JSON
{
  "hex": "#175118",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 121.034,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.10634,
    "h": 143.4
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#175118
secondary
#883C87
accent
#49DCDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #175118

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

Preview Lab → · Contrast checker → · Palette generator →

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