#176228#176228

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

Color values

HEX#176228
RGBrgb(23, 98, 40)
HSLhsl(134, 62%, 24%)
HSVhsv(134, 77%, 38%)
CMYKcmyk(76.5%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.12, -36.02, 26.34)
CIE-LCHlch(36.12, 44.62, 143.82°)
OKLaboklab(43.73% -0.097 0.0629)
OKLCHoklch(43.73% 0.116 147.1)
XYZxyz(5.1037, 9.0702, 3.4888)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176228 #621751
analogous
#2B6217 #176228 #17624D
triadic
#176228 #281762 #622817
tetradic
#176228 #172B62 #621751 #624D17
square
#176228 #172B62 #621751 #624D17
split-complementary
#176228 #4D1762 #62172B
monochromatic
#06190A #0B3014 #176228 #23943C #2EC550

Accessibility & contrast

On white

7.46
#176228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #176228
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176228#FFFFFF#000000##FFFFFF
##1762281.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #176228;
/* rgb */ color: rgb(23, 98, 40);
/* oklch */ color: oklch(43.7% 0.116 147.1);
Tailwind
colors: {
  custom: {
    50: '#618f64',
    500: '#176228',
    950: '#000000',
  },
}
SCSS
$custom: #176228;
$custom-light: #618f64;
$custom-dark: #000000;
JSON
{
  "hex": "#176228",
  "rgb": {
    "r": 23,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 133.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43727,
    "c": 0.11562,
    "h": 147.1
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#176228
secondary
#993C84
accent
#43C0E5
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #176228

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

Preview Lab → · Contrast checker → · Palette generator →

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