#177F27#177F27

#177F27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.154 H 144.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#177F27
RGBrgb(23, 127, 39)
HSLhsl(129, 69%, 29%)
HSVhsv(129, 82%, 50%)
CMYKcmyk(81.9%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.32, -46.72, 38.43)
CIE-LCHlch(46.32, 60.50, 140.56°)
OKLaboklab(52.19% -0.1261 0.0887)
OKLCHoklch(52.19% 0.154 144.9)
XYZxyz(8.3083, 15.5064, 4.4742)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F27 #7F176F
analogous
#3B7F17 #177F27 #177F5B
triadic
#177F27 #27177F #7F2717
tetradic
#177F27 #173B7F #7F176F #7F5B17
square
#177F27 #173B7F #7F176F #7F5B17
split-complementary
#177F27 #5B177F #7F173B
monochromatic
#051A08 #0E4B17 #177F27 #20B337 #36DB4F

Accessibility & contrast

On white

5.12
#177F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177F27
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F27#FFFFFF#000000##FFFFFF
##177F271.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731B
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f27;
/* rgb */ color: rgb(23, 127, 39);
/* oklch */ color: oklch(52.2% 0.154 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a566',
    500: '#177f27',
    950: '#000000',
  },
}
SCSS
$custom: #177f27;
$custom-light: #69a566;
$custom-dark: #000000;
JSON
{
  "hex": "#177f27",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 129.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.15416,
    "h": 144.9
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#177F27
secondary
#B43EA2
accent
#3CD1EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F27

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

Preview Lab → · Contrast checker → · Palette generator →

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