#179228#179228

#179228 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.6% C 0.176 H 144.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#179228
RGBrgb(23, 146, 40)
HSLhsl(128, 73%, 33%)
HSVhsv(128, 84%, 57%)
CMYKcmyk(84.2%, 0%, 72.6%, 42.7%)
CIE-LABlab(52.83, -52.92, 44.93)
CIE-LCHlch(52.83, 69.41, 139.67°)
OKLaboklab(57.6% -0.1429 0.1025)
OKLCHoklch(57.6% 0.176 144.3)
XYZxyz(11.0145, 20.8918, 5.4591)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#179228 #921781
analogous
#439217 #179228 #179265
triadic
#179228 #281792 #922817
tetradic
#179228 #174392 #921781 #926517
square
#179228 #174392 #921781 #926517
split-complementary
#179228 #651792 #921743
monochromatic
#06280B #0F5D1A #179228 #1FC736 #42E158

Accessibility & contrast

On white

4.06
#179228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#179228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #179228
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##179228#FFFFFF#000000##000000
##1792281.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #179228;
/* rgb */ color: rgb(23, 146, 40);
/* oklch */ color: oklch(57.6% 0.176 144.3);
Tailwind
colors: {
  custom: {
    50: '#6eb368',
    500: '#179228',
    950: '#000000',
  },
}
SCSS
$custom: #179228;
$custom-light: #6eb368;
$custom-dark: #000000;
JSON
{
  "hex": "#179228",
  "rgb": {
    "r": 23,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 128.293,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.17585,
    "h": 144.3
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#179228
secondary
#C243B0
accent
#38D6EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #179228

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

Preview Lab → · Contrast checker → · Palette generator →

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