#174B2F#174B2F

#174B2F is a dark, moderate green. Relative luminance 0.054; OKLCH L 37.0% C 0.073 H 156.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#174B2F
RGBrgb(23, 75, 47)
HSLhsl(148, 53%, 19%)
HSVhsv(148, 69%, 29%)
CMYKcmyk(69.3%, 0%, 37.3%, 70.6%)
CIE-LABlab(27.90, -24.75, 11.75)
CIE-LCHlch(27.90, 27.40, 154.60°)
OKLaboklab(36.99% -0.0672 0.0296)
OKLCHoklch(36.99% 0.073 156.2)
XYZxyz(3.3822, 5.4192, 3.5565)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B2F #4B1733
analogous
#194B17 #174B2F #174B49
triadic
#174B2F #2F174B #4B2F17
tetradic
#174B2F #17194B #4B1733 #4B4917
square
#174B2F #17194B #4B1733 #4B4917
split-complementary
#174B2F #49174B #4B1719
monochromatic
#07170F #091C12 #174B2F #257A4C #34A96A

Accessibility & contrast

On white

10.08
#174B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#174B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B2F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B2F#FFFFFF#000000##FFFFFF
##174B2F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#444031
Tritanopia (blue-blind)
#014A44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174b2f;
/* rgb */ color: rgb(23, 75, 47);
/* oklch */ color: oklch(37.0% 0.073 156.2);
Tailwind
colors: {
  custom: {
    50: '#5b7e67',
    500: '#174b2f',
    950: '#000000',
  },
}
SCSS
$custom: #174b2f;
$custom-light: #5b7e67;
$custom-dark: #000000;
JSON
{
  "hex": "#174b2f",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 47
  },
  "hsl": {
    "h": 147.692,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.07347,
    "h": 156.2
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#174B2F
secondary
#823C62
accent
#4B99DC
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174B2F

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

Preview Lab → · Contrast checker → · Palette generator →

#174B2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva