#174222#174222

#174222 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.9% C 0.073 H 149.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#174222
RGBrgb(23, 66, 34)
HSLhsl(135, 48%, 17%)
HSVhsv(135, 65%, 26%)
CMYKcmyk(65.2%, 0%, 48.5%, 74.1%)
CIE-LABlab(24.30, -23.25, 15.13)
CIE-LCHlch(24.30, 27.74, 146.95°)
OKLaboklab(33.95% -0.0629 0.0373)
OKLCHoklch(33.95% 0.073 149.3)
XYZxyz(2.5901, 4.1938, 2.1861)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174222 #421737
analogous
#214217 #174222 #174238
triadic
#174222 #221742 #422217
tetradic
#174222 #172142 #421737 #423817
square
#174222 #172142 #421737 #423817
split-complementary
#174222 #381742 #421721
monochromatic
#08170C #08170C #174222 #276F39 #379D51

Accessibility & contrast

On white

11.42
#174222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#174222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174222
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174222#FFFFFF#000000##FFFFFF
##1742221.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C20
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#0C413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #174222;
/* rgb */ color: rgb(23, 66, 34);
/* oklch */ color: oklch(33.9% 0.073 149.3);
Tailwind
colors: {
  custom: {
    50: '#59775d',
    500: '#174222',
    950: '#000000',
  },
}
SCSS
$custom: #174222;
$custom-light: #59775d;
$custom-dark: #000000;
JSON
{
  "hex": "#174222",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 34
  },
  "hsl": {
    "h": 135.349,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.07315,
    "h": 149.3
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#174222
secondary
#793C69
accent
#50B5D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040804
muted
#797B79

Preview Lab

Preview with #174222

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

Preview Lab → · Contrast checker → · Palette generator →

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