#175126#175126

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

Color values

HEX#175126
RGBrgb(23, 81, 38)
HSLhsl(136, 56%, 20%)
HSVhsv(136, 72%, 32%)
CMYKcmyk(71.6%, 0%, 53.1%, 68.2%)
CIE-LABlab(29.93, -29.35, 19.88)
CIE-LCHlch(29.93, 35.45, 145.89°)
OKLaboklab(38.6% -0.0791 0.0484)
OKLCHoklch(38.6% 0.093 148.6)
XYZxyz(3.6454, 6.2066, 2.8392)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175126 #511742
analogous
#255117 #175126 #175143
triadic
#175126 #261751 #512617
tetradic
#175126 #172551 #511742 #514317
square
#175126 #172551 #511742 #514317
split-complementary
#175126 #431751 #511725
monochromatic
#07180B #092110 #175126 #25813C #32B053

Accessibility & contrast

On white

9.37
#175126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175126
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175126#FFFFFF#000000##FFFFFF
##1751261.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A22
Deuteranopia (green-blind)
#4B4429
Tritanopia (blue-blind)
#034F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175126;
/* rgb */ color: rgb(23, 81, 38);
/* oklch */ color: oklch(38.6% 0.093 148.6);
Tailwind
colors: {
  custom: {
    50: '#5c8261',
    500: '#175126',
    950: '#000000',
  },
}
SCSS
$custom: #175126;
$custom-light: #5c8261;
$custom-dark: #000000;
JSON
{
  "hex": "#175126",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 135.517,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.09275,
    "h": 148.6
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#175126
secondary
#883C74
accent
#49B8DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #175126

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

Preview Lab → · Contrast checker → · Palette generator →

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