#175127#175127

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

Color values

HEX#175127
RGBrgb(23, 81, 39)
HSLhsl(137, 56%, 20%)
HSVhsv(137, 72%, 32%)
CMYKcmyk(71.6%, 0%, 51.9%, 68.2%)
CIE-LABlab(29.94, -29.16, 19.31)
CIE-LCHlch(29.94, 34.98, 146.49°)
OKLaboklab(38.62% -0.0787 0.0471)
OKLCHoklch(38.62% 0.092 149.1)
XYZxyz(3.6617, 6.2131, 2.9253)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175127 #511741
analogous
#245117 #175127 #175144
triadic
#175127 #271751 #512717
tetradic
#175127 #172451 #511741 #514417
square
#175127 #172451 #511741 #514417
split-complementary
#175127 #441751 #511724
monochromatic
#07180B #092110 #175127 #25813E #32B055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175127#FFFFFF#000000##FFFFFF
##1751271.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)
#524A24
Deuteranopia (green-blind)
#4A452A
Tritanopia (blue-blind)
#034F47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175127;
/* rgb */ color: rgb(23, 81, 39);
/* oklch */ color: oklch(38.6% 0.092 149.1);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#175127',
    950: '#000000',
  },
}
SCSS
$custom: #175127;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#175127",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 136.552,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.0917,
    "h": 149.1
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#175127
secondary
#883C73
accent
#49B6DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #175127

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

Preview Lab → · Contrast checker → · Palette generator →

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