#175131#175131

#175131 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.081 H 155.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#175131
RGBrgb(23, 81, 49)
HSLhsl(147, 56%, 20%)
HSVhsv(147, 72%, 32%)
CMYKcmyk(71.6%, 0%, 39.5%, 68.2%)
CIE-LABlab(30.13, -27.12, 13.52)
CIE-LCHlch(30.13, 30.30, 153.51°)
OKLaboklab(38.83% -0.0734 0.0339)
OKLCHoklch(38.83% 0.081 155.2)
XYZxyz(3.8498, 6.2884, 3.9160)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175131 #511737
analogous
#1A5117 #175131 #17514E
triadic
#175131 #311751 #513117
tetradic
#175131 #171A51 #511737 #514E17
square
#175131 #171A51 #511737 #514E17
split-complementary
#175131 #4E1751 #51171A
monochromatic
#07180E #092114 #175131 #25814E #32B06B

Accessibility & contrast

On white

9.30
#175131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#175131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175131
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175131#FFFFFF#000000##FFFFFF
##1751311.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#494533
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175131;
/* rgb */ color: rgb(23, 81, 49);
/* oklch */ color: oklch(38.8% 0.081 155.2);
Tailwind
colors: {
  custom: {
    50: '#5c8269',
    500: '#175131',
    950: '#000000',
  },
}
SCSS
$custom: #175131;
$custom-light: #5c8269;
$custom-dark: #000000;
JSON
{
  "hex": "#175131",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 49
  },
  "hsl": {
    "h": 146.897,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.0809,
    "h": 155.2
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#175131
secondary
#883C66
accent
#499CDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #175131

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

Preview Lab → · Contrast checker → · Palette generator →

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