#174828#174828

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

Color values

HEX#174828
RGBrgb(23, 72, 40)
HSLhsl(141, 52%, 19%)
HSVhsv(141, 68%, 28%)
CMYKcmyk(68.1%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.65, -24.88, 14.46)
CIE-LCHlch(26.65, 28.78, 149.84°)
OKLaboklab(35.91% -0.0673 0.036)
OKLCHoklch(35.91% 0.076 151.9)
XYZxyz(3.0535, 4.9698, 2.8054)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174828 #481737
analogous
#1E4817 #174828 #174840
triadic
#174828 #281748 #482817
tetradic
#174828 #171E48 #481737 #484017
square
#174828 #171E48 #481737 #484017
split-complementary
#174828 #401748 #48171E
monochromatic
#07170D #081A0E #174828 #267642 #35A55C

Accessibility & contrast

On white

10.53
#174828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174828
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174828#FFFFFF#000000##FFFFFF
##1748281.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174828;
/* rgb */ color: rgb(23, 72, 40);
/* oklch */ color: oklch(35.9% 0.076 151.9);
Tailwind
colors: {
  custom: {
    50: '#5a7b62',
    500: '#174828',
    950: '#000000',
  },
}
SCSS
$custom: #174828;
$custom-light: #5a7b62;
$custom-dark: #000000;
JSON
{
  "hex": "#174828",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 140.816,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.0763,
    "h": 151.9
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#174828
secondary
#7F3C68
accent
#4DAADB
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #174828

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

Preview Lab → · Contrast checker → · Palette generator →

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