#175120#175120

#175120 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.099 H 146.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#175120
RGBrgb(23, 81, 32)
HSLhsl(129, 56%, 20%)
HSVhsv(129, 72%, 32%)
CMYKcmyk(71.6%, 0%, 60.5%, 68.2%)
CIE-LABlab(29.84, -30.35, 23.19)
CIE-LCHlch(29.84, 38.20, 142.61°)
OKLaboklab(38.5% -0.082 0.0553)
OKLCHoklch(38.5% 0.099 146)
XYZxyz(3.5563, 6.1709, 2.3699)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175120 #511748
analogous
#2B5117 #175120 #17513D
triadic
#175120 #201751 #512017
tetradic
#175120 #172B51 #511748 #513D17
square
#175120 #172B51 #511748 #513D17
split-complementary
#175120 #3D1751 #51172B
monochromatic
#071809 #09210D #175120 #258133 #32B046

Accessibility & contrast

On white

9.40
#175120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175120
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175120#FFFFFF#000000##FFFFFF
##1751201.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491B
Deuteranopia (green-blind)
#4B4424
Tritanopia (blue-blind)
#064F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175120;
/* rgb */ color: rgb(23, 81, 32);
/* oklch */ color: oklch(38.5% 0.099 146.0);
Tailwind
colors: {
  custom: {
    50: '#5d825d',
    500: '#175120',
    950: '#000000',
  },
}
SCSS
$custom: #175120;
$custom-light: #5d825d;
$custom-dark: #000000;
JSON
{
  "hex": "#175120",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 32
  },
  "hsl": {
    "h": 129.31,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.385,
    "c": 0.09893,
    "h": 146
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#175120
secondary
#883C7C
accent
#49C8DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #175120

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

Preview Lab → · Contrast checker → · Palette generator →

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