#177F38#177F38

#177F38 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.140 H 148.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#177F38
RGBrgb(23, 127, 56)
HSLhsl(139, 69%, 29%)
HSVhsv(139, 82%, 50%)
CMYKcmyk(81.9%, 0%, 55.9%, 50.2%)
CIE-LABlab(46.51, -44.47, 30.40)
CIE-LCHlch(46.51, 53.86, 145.65°)
OKLaboklab(52.4% -0.1194 0.073)
OKLCHoklch(52.4% 0.14 148.6)
XYZxyz(8.6558, 15.6454, 6.3043)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F38 #7F175E
analogous
#2A7F17 #177F38 #177F6C
triadic
#177F38 #38177F #7F3817
tetradic
#177F38 #172A7F #7F175E #7F6C17
square
#177F38 #172A7F #7F175E #7F6C17
split-complementary
#177F38 #6C177F #7F172A
monochromatic
#051A0B #0E4B21 #177F38 #20B34F #36DB6A

Accessibility & contrast

On white

5.09
#177F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#177F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F38
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F38#FFFFFF#000000##FFFFFF
##177F381.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f38;
/* rgb */ color: rgb(23, 127, 56);
/* oklch */ color: oklch(52.4% 0.140 148.6);
Tailwind
colors: {
  custom: {
    50: '#68a570',
    500: '#177f38',
    950: '#000000',
  },
}
SCSS
$custom: #177f38;
$custom-light: #68a570;
$custom-dark: #000000;
JSON
{
  "hex": "#177f38",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 139.038,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.524,
    "c": 0.13996,
    "h": 148.6
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#177F38
secondary
#B43E8E
accent
#3CB4EC
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177F38

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

Preview Lab → · Contrast checker → · Palette generator →

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