#179226#179226

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

Color values

HEX#179226
RGBrgb(23, 146, 38)
HSLhsl(127, 73%, 33%)
HSVhsv(127, 84%, 57%)
CMYKcmyk(84.2%, 0%, 74%, 42.7%)
CIE-LABlab(52.82, -53.10, 45.70)
CIE-LCHlch(52.82, 70.05, 139.28°)
OKLaboklab(57.59% -0.1435 0.1038)
OKLCHoklch(57.59% 0.177 144.1)
XYZxyz(10.9813, 20.8785, 5.2845)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#179226 #921783
analogous
#459217 #179226 #179263
triadic
#179226 #261792 #922617
tetradic
#179226 #174592 #921783 #926317
square
#179226 #174592 #921783 #926317
split-complementary
#179226 #631792 #921745
monochromatic
#06280A #0F5D18 #179226 #1FC734 #42E156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##179226#FFFFFF#000000##000000
##1792261.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)
#958413
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #179226;
/* rgb */ color: rgb(23, 146, 38);
/* oklch */ color: oklch(57.6% 0.177 144.1);
Tailwind
colors: {
  custom: {
    50: '#6eb367',
    500: '#179226',
    950: '#000000',
  },
}
SCSS
$custom: #179226;
$custom-light: #6eb367;
$custom-dark: #000000;
JSON
{
  "hex": "#179226",
  "rgb": {
    "r": 23,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 127.317,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.17711,
    "h": 144.1
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

primary
#179226
secondary
#C243B2
accent
#38D9EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #179226

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

Preview Lab → · Contrast checker → · Palette generator →

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