#174221#174221

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

Color values

HEX#174221
RGBrgb(23, 66, 33)
HSLhsl(134, 48%, 17%)
HSVhsv(134, 65%, 26%)
CMYKcmyk(65.2%, 0%, 50%, 74.1%)
CIE-LABlab(24.28, -23.45, 15.72)
CIE-LCHlch(24.28, 28.24, 146.16°)
OKLaboklab(33.93% -0.0634 0.0386)
OKLCHoklch(33.93% 0.074 148.7)
XYZxyz(2.5759, 4.1882, 2.1112)
Luminance0.0419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174221 #421738
analogous
#234217 #174221 #174236
triadic
#174221 #211742 #422117
tetradic
#174221 #172342 #421738 #423617
square
#174221 #172342 #421738 #423617
split-complementary
#174221 #361742 #421723
monochromatic
#08170B #08170B #174221 #276F38 #379D4E

Accessibility & contrast

On white

11.43
#174221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174221
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174221#FFFFFF#000000##FFFFFF
##1742211.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1F
Deuteranopia (green-blind)
#3D3823
Tritanopia (blue-blind)
#0D413A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #174221;
/* rgb */ color: rgb(23, 66, 33);
/* oklch */ color: oklch(33.9% 0.074 148.7);
Tailwind
colors: {
  custom: {
    50: '#59775c',
    500: '#174221',
    950: '#000000',
  },
}
SCSS
$custom: #174221;
$custom-light: #59775c;
$custom-dark: #000000;
JSON
{
  "hex": "#174221",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 33
  },
  "hsl": {
    "h": 133.953,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.07428,
    "h": 148.7
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#174221
secondary
#793C6B
accent
#50B8D8
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040804
muted
#797B79

Preview Lab

Preview with #174221

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

Preview Lab → · Contrast checker → · Palette generator →

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