#177B1E#177B1E

#177B1E is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.156 H 143.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#177B1E
RGBrgb(23, 123, 30)
HSLhsl(124, 68%, 29%)
HSVhsv(124, 81%, 48%)
CMYKcmyk(81.3%, 0%, 75.6%, 51.8%)
CIE-LABlab(44.86, -46.25, 40.67)
CIE-LCHlch(44.86, 61.59, 138.67°)
OKLaboklab(50.95% -0.1252 0.0923)
OKLCHoklch(50.95% 0.156 143.6)
XYZxyz(7.6701, 14.4409, 3.6112)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B1E #7B1774
analogous
#427B17 #177B1E #177B50
triadic
#177B1E #1E177B #7B1E17
tetradic
#177B1E #17427B #7B1774 #7B5017
square
#177B1E #17427B #7B1774 #7B5017
split-complementary
#177B1E #50177B #7B1742
monochromatic
#051A06 #0D4711 #177B1E #21AF2B #33D93F

Accessibility & contrast

On white

5.40
#177B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177B1E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B1E#FFFFFF#000000##FFFFFF
##177B1E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b1e;
/* rgb */ color: rgb(23, 123, 30);
/* oklch */ color: oklch(50.9% 0.156 143.6);
Tailwind
colors: {
  custom: {
    50: '#68a260',
    500: '#177b1e',
    950: '#000000',
  },
}
SCSS
$custom: #177b1e;
$custom-light: #68a260;
$custom-dark: #000000;
JSON
{
  "hex": "#177b1e",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 124.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.15554,
    "h": 143.6
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#177B1E
secondary
#B03EA8
accent
#3CDFEB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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