#176226#176226

#176226 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.7% C 0.117 H 146.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#176226
RGBrgb(23, 98, 38)
HSLhsl(132, 62%, 24%)
HSVhsv(132, 77%, 38%)
CMYKcmyk(76.5%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.09, -36.32, 27.37)
CIE-LCHlch(36.09, 45.48, 143.00°)
OKLaboklab(43.7% -0.0979 0.065)
OKLCHoklch(43.7% 0.117 146.4)
XYZxyz(5.0705, 9.0569, 3.3143)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176226 #621753
analogous
#2D6217 #176226 #17624B
triadic
#176226 #261762 #622617
tetradic
#176226 #172D62 #621753 #624B17
square
#176226 #172D62 #621753 #624B17
split-complementary
#176226 #4B1762 #62172D
monochromatic
#06190A #0B3013 #176226 #239439 #2EC54C

Accessibility & contrast

On white

7.47
#176226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#176226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176226
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176226#FFFFFF#000000##FFFFFF
##1762261.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635920
Deuteranopia (green-blind)
#5B532B
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #176226;
/* rgb */ color: rgb(23, 98, 38);
/* oklch */ color: oklch(43.7% 0.117 146.4);
Tailwind
colors: {
  custom: {
    50: '#618f62',
    500: '#176226',
    950: '#000000',
  },
}
SCSS
$custom: #176226;
$custom-light: #618f62;
$custom-dark: #000000;
JSON
{
  "hex": "#176226",
  "rgb": {
    "r": 23,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 132,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.11749,
    "h": 146.4
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#176226
secondary
#993C86
accent
#43C5E5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #176226

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

Preview Lab → · Contrast checker → · Palette generator →

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