#174227#174227

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

Color values

HEX#174227
RGBrgb(23, 66, 39)
HSLhsl(142, 48%, 17%)
HSVhsv(142, 65%, 26%)
CMYKcmyk(65.2%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.40, -22.19, 12.11)
CIE-LCHlch(24.40, 25.28, 151.38°)
OKLaboklab(34.06% -0.0602 0.0303)
OKLCHoklch(34.06% 0.067 153.3)
XYZxyz(2.6676, 4.2248, 2.5940)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174227 #421732
analogous
#1C4217 #174227 #17423D
triadic
#174227 #271742 #422717
tetradic
#174227 #171C42 #421732 #423D17
square
#174227 #171C42 #421732 #423D17
split-complementary
#174227 #3D1742 #42171C
monochromatic
#08170D #08170D #174227 #276F42 #379D5D

Accessibility & contrast

On white

11.38
#174227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174227
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174227#FFFFFF#000000##FFFFFF
##1742271.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3C3829
Tritanopia (blue-blind)
#0A413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #174227;
/* rgb */ color: rgb(23, 66, 39);
/* oklch */ color: oklch(34.1% 0.067 153.3);
Tailwind
colors: {
  custom: {
    50: '#597761',
    500: '#174227',
    950: '#000000',
  },
}
SCSS
$custom: #174227;
$custom-light: #597761;
$custom-dark: #000000;
JSON
{
  "hex": "#174227",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 142.326,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.34063,
    "c": 0.06742,
    "h": 153.3
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#174227
secondary
#793C62
accent
#50A5D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040805
muted
#797B79

Preview Lab

Preview with #174227

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

Preview Lab → · Contrast checker → · Palette generator →

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