#177B23#177B23

#177B23 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.152 H 144.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#177B23
RGBrgb(23, 123, 35)
HSLhsl(127, 68%, 29%)
HSVhsv(127, 81%, 48%)
CMYKcmyk(81.3%, 0%, 71.5%, 51.8%)
CIE-LABlab(44.90, -45.77, 38.65)
CIE-LCHlch(44.90, 59.91, 139.82°)
OKLaboklab(50.99% -0.1237 0.0887)
OKLCHoklch(50.99% 0.152 144.4)
XYZxyz(7.7392, 14.4685, 3.9746)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B23 #7B176F
analogous
#3D7B17 #177B23 #177B55
triadic
#177B23 #23177B #7B2317
tetradic
#177B23 #173D7B #7B176F #7B5517
square
#177B23 #173D7B #7B176F #7B5517
split-complementary
#177B23 #55177B #7B173D
monochromatic
#051A07 #0D4714 #177B23 #21AF32 #33D947

Accessibility & contrast

On white

5.39
#177B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B23
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B23#FFFFFF#000000##FFFFFF
##177B231.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F16
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#007869
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b23;
/* rgb */ color: rgb(23, 123, 35);
/* oklch */ color: oklch(51.0% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#68a263',
    500: '#177b23',
    950: '#000000',
  },
}
SCSS
$custom: #177b23;
$custom-light: #68a263;
$custom-dark: #000000;
JSON
{
  "hex": "#177b23",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 127.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.1522,
    "h": 144.4
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#177B23
secondary
#B03EA2
accent
#3CD6EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177B23

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

Preview Lab → · Contrast checker → · Palette generator →

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