#177F22#177F22

#177F22 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.158 H 144.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#177F22
RGBrgb(23, 127, 34)
HSLhsl(126, 69%, 29%)
HSVhsv(126, 82%, 50%)
CMYKcmyk(81.9%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.28, -47.23, 40.53)
CIE-LCHlch(46.28, 62.23, 139.37°)
OKLaboklab(52.14% -0.1277 0.0925)
OKLCHoklch(52.14% 0.158 144.1)
XYZxyz(8.2309, 15.4754, 4.0663)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F22 #7F1774
analogous
#407F17 #177F22 #177F56
triadic
#177F22 #22177F #7F2217
tetradic
#177F22 #17407F #7F1774 #7F5617
square
#177F22 #17407F #7F1774 #7F5617
split-complementary
#177F22 #56177F #7F1740
monochromatic
#051A07 #0E4B14 #177F22 #20B330 #36DB47

Accessibility & contrast

On white

5.13
#177F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#177F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F22
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F22#FFFFFF#000000##FFFFFF
##177F221.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827213
Deuteranopia (green-blind)
#766B2B
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f22;
/* rgb */ color: rgb(23, 127, 34);
/* oklch */ color: oklch(52.1% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#69a563',
    500: '#177f22',
    950: '#000000',
  },
}
SCSS
$custom: #177f22;
$custom-light: #69a563;
$custom-dark: #000000;
JSON
{
  "hex": "#177f22",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 126.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.15767,
    "h": 144.1
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #177F22

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

Preview Lab → · Contrast checker → · Palette generator →

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