#177E1B#177E1B

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

Color values

HEX#177E1B
RGBrgb(23, 126, 27)
HSLhsl(122, 69%, 29%)
HSVhsv(122, 82%, 49%)
CMYKcmyk(81.7%, 0%, 78.6%, 50.6%)
CIE-LABlab(45.88, -47.51, 42.83)
CIE-LCHlch(45.88, 63.96, 137.96°)
OKLaboklab(51.79% -0.1288 0.0964)
OKLCHoklch(51.79% 0.161 143.2)
XYZxyz(8.0115, 15.1820, 3.5449)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E1B #7E177A
analogous
#477E17 #177E1B #177E4F
triadic
#177E1B #1B177E #7E1B17
tetradic
#177E1B #17477E #7E177A #7E4F17
square
#177E1B #17477E #7E177A #7E4F17
split-complementary
#177E1B #4F177E #7E1747
monochromatic
#051A06 #0E4A10 #177E1B #20B226 #35DA3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177E1B#FFFFFF#000000##FFFFFF
##177E1B1.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)
#817105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e1b;
/* rgb */ color: rgb(23, 126, 27);
/* oklch */ color: oklch(51.8% 0.161 143.2);
Tailwind
colors: {
  custom: {
    50: '#69a45f',
    500: '#177e1b',
    950: '#000000',
  },
}
SCSS
$custom: #177e1b;
$custom-light: #69a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#177e1b",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 122.33,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.16082,
    "h": 143.2
  },
  "luminance": 0.15183
}

Semantic roles & 50–950 ramp

primary
#177E1B
secondary
#B33EAE
accent
#3CE5EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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