#177E1F#177E1F

#177E1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.8% C 0.158 H 143.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#177E1F
RGBrgb(23, 126, 31)
HSLhsl(125, 69%, 29%)
HSVhsv(125, 82%, 49%)
CMYKcmyk(81.7%, 0%, 75.4%, 50.6%)
CIE-LABlab(45.91, -47.17, 41.35)
CIE-LCHlch(45.91, 62.73, 138.76°)
OKLaboklab(51.82% -0.1277 0.0938)
OKLCHoklch(51.82% 0.158 143.7)
XYZxyz(8.0610, 15.2018, 3.8055)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E1F #7E1776
analogous
#437E17 #177E1F #177E53
triadic
#177E1F #1F177E #7E1F17
tetradic
#177E1F #17437E #7E1776 #7E5317
square
#177E1F #17437E #7E1776 #7E5317
split-complementary
#177E1F #53177E #7E1743
monochromatic
#051A06 #0E4A12 #177E1F #20B22C #35DA42

Accessibility & contrast

On white

5.20
#177E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E1F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E1F#FFFFFF#000000##FFFFFF
##177E1F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e1f;
/* rgb */ color: rgb(23, 126, 31);
/* oklch */ color: oklch(51.8% 0.158 143.7);
Tailwind
colors: {
  custom: {
    50: '#69a461',
    500: '#177e1f',
    950: '#000000',
  },
}
SCSS
$custom: #177e1f;
$custom-light: #69a461;
$custom-dark: #000000;
JSON
{
  "hex": "#177e1f",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 124.66,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.15844,
    "h": 143.7
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#177E1F
secondary
#B33EAA
accent
#3CDEEC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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