#177B1B#177B1B

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

Color values

HEX#177B1B
RGBrgb(23, 123, 27)
HSLhsl(122, 68%, 29%)
HSVhsv(122, 81%, 48%)
CMYKcmyk(81.3%, 0%, 78%, 51.8%)
CIE-LABlab(44.84, -46.51, 41.80)
CIE-LCHlch(44.84, 62.53, 138.05°)
OKLaboklab(50.93% -0.126 0.0942)
OKLCHoklch(50.93% 0.157 143.2)
XYZxyz(7.6336, 14.4263, 3.4189)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B1B #7B1777
analogous
#457B17 #177B1B #177B4D
triadic
#177B1B #1B177B #7B1B17
tetradic
#177B1B #17457B #7B1777 #7B4D17
square
#177B1B #17457B #7B1777 #7B4D17
split-complementary
#177B1B #4D177B #7B1745
monochromatic
#051A06 #0D4710 #177B1B #21AF26 #33D93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177B1B#FFFFFF#000000##FFFFFF
##177B1B1.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)
#7E6F06
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b1b;
/* rgb */ color: rgb(23, 123, 27);
/* oklch */ color: oklch(50.9% 0.157 143.2);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#177b1b',
    950: '#000000',
  },
}
SCSS
$custom: #177b1b;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#177b1b",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 122.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50925,
    "c": 0.15736,
    "h": 143.2
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#177B1B
secondary
#B03EAB
accent
#3CE4EB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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