#177F23#177F23

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

Color values

HEX#177F23
RGBrgb(23, 127, 35)
HSLhsl(127, 69%, 29%)
HSVhsv(127, 82%, 50%)
CMYKcmyk(81.9%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.29, -47.13, 40.12)
CIE-LCHlch(46.29, 61.90, 139.60°)
OKLaboklab(52.15% -0.1274 0.0918)
OKLCHoklch(52.15% 0.157 144.2)
XYZxyz(8.2455, 15.4813, 4.1434)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F23 #7F1773
analogous
#3F7F17 #177F23 #177F57
triadic
#177F23 #23177F #7F2317
tetradic
#177F23 #173F7F #7F1773 #7F5717
square
#177F23 #173F7F #7F1773 #7F5717
split-complementary
#177F23 #57177F #7F173F
monochromatic
#051A07 #0E4B15 #177F23 #20B331 #36DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F23#FFFFFF#000000##FFFFFF
##177F231.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)
#817215
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f23;
/* rgb */ color: rgb(23, 127, 35);
/* oklch */ color: oklch(52.1% 0.157 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a563',
    500: '#177f23',
    950: '#000000',
  },
}
SCSS
$custom: #177f23;
$custom-light: #69a563;
$custom-dark: #000000;
JSON
{
  "hex": "#177f23",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 126.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.157,
    "h": 144.2
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#177F23
secondary
#B43EA6
accent
#3CD8EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F23

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

Preview Lab → · Contrast checker → · Palette generator →

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