#177F28#177F28

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

Color values

HEX#177F28
RGBrgb(23, 127, 40)
HSLhsl(130, 69%, 29%)
HSVhsv(130, 82%, 50%)
CMYKcmyk(81.9%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.33, -46.61, 38.00)
CIE-LCHlch(46.33, 60.13, 140.81°)
OKLaboklab(52.2% -0.1257 0.0879)
OKLCHoklch(52.2% 0.153 145)
XYZxyz(8.3251, 15.5131, 4.5626)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F28 #7F176E
analogous
#3A7F17 #177F28 #177F5C
triadic
#177F28 #28177F #7F2817
tetradic
#177F28 #173A7F #7F176E #7F5C17
square
#177F28 #173A7F #7F176E #7F5C17
split-complementary
#177F28 #5C177F #7F173A
monochromatic
#051A08 #0E4B18 #177F28 #20B338 #36DB51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F28#FFFFFF#000000##FFFFFF
##177F281.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)
#81731D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f28;
/* rgb */ color: rgb(23, 127, 40);
/* oklch */ color: oklch(52.2% 0.153 145.0);
Tailwind
colors: {
  custom: {
    50: '#69a566',
    500: '#177f28',
    950: '#000000',
  },
}
SCSS
$custom: #177f28;
$custom-light: #69a566;
$custom-dark: #000000;
JSON
{
  "hex": "#177f28",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 129.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.15342,
    "h": 145
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#177F28
secondary
#B43EA0
accent
#3CCFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177F28

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

Preview Lab → · Contrast checker → · Palette generator →

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