#174827#174827

#174827 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.077 H 151.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#174827
RGBrgb(23, 72, 39)
HSLhsl(140, 52%, 19%)
HSVhsv(140, 68%, 28%)
CMYKcmyk(68.1%, 0%, 45.8%, 71.8%)
CIE-LABlab(26.63, -25.09, 15.05)
CIE-LCHlch(26.63, 29.26, 149.04°)
OKLaboklab(35.89% -0.0678 0.0373)
OKLCHoklch(35.89% 0.077 151.2)
XYZxyz(3.0367, 4.9631, 2.7170)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174827 #481738
analogous
#1F4817 #174827 #17483F
triadic
#174827 #271748 #482717
tetradic
#174827 #171F48 #481738 #483F17
square
#174827 #171F48 #481738 #483F17
split-complementary
#174827 #3F1748 #48171F
monochromatic
#07170D #081A0E #174827 #267640 #35A559

Accessibility & contrast

On white

10.54
#174827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#174827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174827
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174827#FFFFFF#000000##FFFFFF
##1748271.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484225
Deuteranopia (green-blind)
#423D29
Tritanopia (blue-blind)
#074740
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #174827;
/* rgb */ color: rgb(23, 72, 39);
/* oklch */ color: oklch(35.9% 0.077 151.2);
Tailwind
colors: {
  custom: {
    50: '#5a7b61',
    500: '#174827',
    950: '#000000',
  },
}
SCSS
$custom: #174827;
$custom-light: #5a7b61;
$custom-dark: #000000;
JSON
{
  "hex": "#174827",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 139.592,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.07741,
    "h": 151.2
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#174827
secondary
#7F3C69
accent
#4DADDB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #174827

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

Preview Lab → · Contrast checker → · Palette generator →

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