#175128#175128

#175128 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.091 H 149.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#175128
RGBrgb(23, 81, 40)
HSLhsl(138, 56%, 20%)
HSVhsv(138, 72%, 32%)
CMYKcmyk(71.6%, 0%, 50.6%, 68.2%)
CIE-LABlab(29.96, -28.98, 18.74)
CIE-LCHlch(29.96, 34.51, 147.10°)
OKLaboklab(38.64% -0.0781 0.0459)
OKLCHoklch(38.64% 0.091 149.6)
XYZxyz(3.6785, 6.2198, 3.0138)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175128 #511740
analogous
#235117 #175128 #175145
triadic
#175128 #281751 #512817
tetradic
#175128 #172351 #511740 #514517
square
#175128 #172351 #511740 #514517
split-complementary
#175128 #451751 #511723
monochromatic
#07180C #092110 #175128 #258140 #32B057

Accessibility & contrast

On white

9.36
#175128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#175128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175128
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175128#FFFFFF#000000##FFFFFF
##1751281.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4A452B
Tritanopia (blue-blind)
#024F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175128;
/* rgb */ color: rgb(23, 81, 40);
/* oklch */ color: oklch(38.6% 0.091 149.6);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#175128',
    950: '#000000',
  },
}
SCSS
$custom: #175128;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#175128",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 137.586,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.09062,
    "h": 149.6
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#175128
secondary
#883C72
accent
#49B3DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #175128

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

Preview Lab → · Contrast checker → · Palette generator →

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