#175028#175028

#175028 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.089 H 149.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#175028
RGBrgb(23, 80, 40)
HSLhsl(138, 55%, 20%)
HSVhsv(138, 71%, 31%)
CMYKcmyk(71.2%, 0%, 50%, 68.6%)
CIE-LABlab(29.59, -28.54, 18.28)
CIE-LCHlch(29.59, 33.89, 147.36°)
OKLaboklab(38.34% -0.077 0.0448)
OKLCHoklch(38.34% 0.089 149.8)
XYZxyz(3.6047, 6.0723, 2.9892)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175028 #50173F
analogous
#225017 #175028 #175045
triadic
#175028 #281750 #502817
tetradic
#175028 #172250 #50173F #504517
square
#175028 #172250 #50173F #504517
split-complementary
#175028 #451750 #501722
monochromatic
#07180C #092010 #175028 #258040 #32AF58

Accessibility & contrast

On white

9.48
#175028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#175028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175028
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175028#FFFFFF#000000##FFFFFF
##1750281.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#49442B
Tritanopia (blue-blind)
#034E46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175028;
/* rgb */ color: rgb(23, 80, 40);
/* oklch */ color: oklch(38.3% 0.089 149.8);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#175028',
    950: '#000000',
  },
}
SCSS
$custom: #175028;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#175028",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 137.895,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.08907,
    "h": 149.8
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#175028
secondary
#873C71
accent
#49B2DF
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #175028

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

Preview Lab → · Contrast checker → · Palette generator →

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