#177E22#177E22

#177E22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.156 H 144.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#177E22
RGBrgb(23, 126, 34)
HSLhsl(126, 69%, 29%)
HSVhsv(126, 82%, 49%)
CMYKcmyk(81.7%, 0%, 73%, 50.6%)
CIE-LABlab(45.93, -46.89, 40.16)
CIE-LCHlch(45.93, 61.74, 139.42°)
OKLaboklab(51.85% -0.1268 0.0917)
OKLCHoklch(51.85% 0.156 144.1)
XYZxyz(8.1024, 15.2184, 4.0235)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E22 #7E1773
analogous
#407E17 #177E22 #177E56
triadic
#177E22 #22177E #7E2217
tetradic
#177E22 #17407E #7E1773 #7E5617
square
#177E22 #17407E #7E1773 #7E5617
split-complementary
#177E22 #56177E #7E1740
monochromatic
#051A07 #0E4A14 #177E22 #20B230 #35DA47

Accessibility & contrast

On white

5.19
#177E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E22
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E22#FFFFFF#000000##FFFFFF
##177E221.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e22;
/* rgb */ color: rgb(23, 126, 34);
/* oklch */ color: oklch(51.8% 0.156 144.1);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#177e22',
    950: '#000000',
  },
}
SCSS
$custom: #177e22;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#177e22",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 126.408,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.15648,
    "h": 144.1
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#177E22
secondary
#B33EA6
accent
#3CD9EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177E22

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

Preview Lab → · Contrast checker → · Palette generator →

#177E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva