#174228#174228

#174228 is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.1% C 0.066 H 154.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#174228
RGBrgb(23, 66, 40)
HSLhsl(144, 48%, 17%)
HSVhsv(144, 65%, 26%)
CMYKcmyk(65.2%, 0%, 39.4%, 74.1%)
CIE-LABlab(24.42, -21.97, 11.50)
CIE-LCHlch(24.42, 24.80, 152.37°)
OKLaboklab(34.09% -0.0597 0.0289)
OKLCHoklch(34.09% 0.066 154.2)
XYZxyz(2.6844, 4.2315, 2.6824)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174228 #421731
analogous
#1B4217 #174228 #17423E
triadic
#174228 #281742 #422817
tetradic
#174228 #171B42 #421731 #423E17
square
#174228 #171B42 #421731 #423E17
split-complementary
#174228 #3E1742 #42171B
monochromatic
#08170E #08170E #174228 #276F44 #379D5F

Accessibility & contrast

On white

11.37
#174228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#174228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174228
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174228#FFFFFF#000000##FFFFFF
##1742281.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D26
Deuteranopia (green-blind)
#3C382A
Tritanopia (blue-blind)
#09413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #174228;
/* rgb */ color: rgb(23, 66, 40);
/* oklch */ color: oklch(34.1% 0.066 154.2);
Tailwind
colors: {
  custom: {
    50: '#597762',
    500: '#174228',
    950: '#000000',
  },
}
SCSS
$custom: #174228;
$custom-light: #597762;
$custom-dark: #000000;
JSON
{
  "hex": "#174228",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 143.721,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.06629,
    "h": 154.2
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#174228
secondary
#793C61
accent
#50A2D8
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040805
muted
#797B79

Preview Lab

Preview with #174228

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

Preview Lab → · Contrast checker → · Palette generator →

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