#179227#179227

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

Color values

HEX#179227
RGBrgb(23, 146, 39)
HSLhsl(128, 73%, 33%)
HSVhsv(128, 84%, 57%)
CMYKcmyk(84.2%, 0%, 73.3%, 42.7%)
CIE-LABlab(52.82, -53.01, 45.31)
CIE-LCHlch(52.82, 69.74, 139.47°)
OKLaboklab(57.59% -0.1432 0.1032)
OKLCHoklch(57.59% 0.176 144.2)
XYZxyz(10.9977, 20.8850, 5.3707)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#179227 #921782
analogous
#449217 #179227 #179264
triadic
#179227 #271792 #922717
tetradic
#179227 #174492 #921782 #926417
square
#179227 #174492 #921782 #926417
split-complementary
#179227 #641792 #921744
monochromatic
#06280B #0F5D19 #179227 #1FC735 #42E157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##179227#FFFFFF#000000##000000
##1792271.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)
#958415
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #179227;
/* rgb */ color: rgb(23, 146, 39);
/* oklch */ color: oklch(57.6% 0.176 144.2);
Tailwind
colors: {
  custom: {
    50: '#6eb368',
    500: '#179227',
    950: '#000000',
  },
}
SCSS
$custom: #179227;
$custom-light: #6eb368;
$custom-dark: #000000;
JSON
{
  "hex": "#179227",
  "rgb": {
    "r": 23,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 127.805,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.17649,
    "h": 144.2
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#179227
secondary
#C243B1
accent
#38D8EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #179227

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

Preview Lab → · Contrast checker → · Palette generator →

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