#178B22#178B22

#178B22 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.172 H 143.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#178B22
RGBrgb(23, 139, 34)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 83%, 55%)
CMYKcmyk(83.5%, 0%, 75.5%, 45.5%)
CIE-LABlab(50.41, -51.19, 44.77)
CIE-LCHlch(50.41, 68.01, 138.83°)
OKLaboklab(55.57% -0.1385 0.1014)
OKLCHoklch(55.57% 0.172 143.8)
XYZxyz(9.8740, 18.7617, 4.6140)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B22 #8B1780
analogous
#468B17 #178B22 #178B5C
triadic
#178B22 #22178B #8B2217
tetradic
#178B22 #17468B #8B1780 #8B5C17
square
#178B22 #17468B #8B1780 #8B5C17
split-complementary
#178B22 #5C178B #8B1746
monochromatic
#062208 #0E5615 #178B22 #20C02F #3DDF4D

Accessibility & contrast

On white

4.42
#178B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#178B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B22
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B22#FFFFFF#000000##000000
##178B221.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0E
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b22;
/* rgb */ color: rgb(23, 139, 34);
/* oklch */ color: oklch(55.6% 0.172 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cae64',
    500: '#178b22',
    950: '#000000',
  },
}
SCSS
$custom: #178b22;
$custom-light: #6cae64;
$custom-dark: #000000;
JSON
{
  "hex": "#178b22",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 125.69,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.1716,
    "h": 143.8
  },
  "luminance": 0.18763
}

Semantic roles & 50–950 ramp

primary
#178B22
secondary
#BF3FB2
accent
#39DDEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B22

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

Preview Lab → · Contrast checker → · Palette generator →

#178B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva