#177E23#177E23

#177E23 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.156 H 144.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#177E23
RGBrgb(23, 126, 35)
HSLhsl(127, 69%, 29%)
HSVhsv(127, 82%, 49%)
CMYKcmyk(81.7%, 0%, 72.2%, 50.6%)
CIE-LABlab(45.94, -46.80, 39.75)
CIE-LCHlch(45.94, 61.40, 139.65°)
OKLaboklab(51.86% -0.1265 0.091)
OKLCHoklch(51.86% 0.156 144.3)
XYZxyz(8.1170, 15.2242, 4.1006)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E23 #7E1772
analogous
#3F7E17 #177E23 #177E57
triadic
#177E23 #23177E #7E2317
tetradic
#177E23 #173F7E #7E1772 #7E5717
square
#177E23 #173F7E #7E1772 #7E5717
split-complementary
#177E23 #57177E #7E173F
monochromatic
#051A07 #0E4A15 #177E23 #20B231 #35DA48

Accessibility & contrast

On white

5.19
#177E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177E23
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E23#FFFFFF#000000##FFFFFF
##177E231.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e23;
/* rgb */ color: rgb(23, 126, 35);
/* oklch */ color: oklch(51.9% 0.156 144.3);
Tailwind
colors: {
  custom: {
    50: '#69a463',
    500: '#177e23',
    950: '#000000',
  },
}
SCSS
$custom: #177e23;
$custom-light: #69a463;
$custom-dark: #000000;
JSON
{
  "hex": "#177e23",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 126.99,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.1558,
    "h": 144.3
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#177E23
secondary
#B33EA5
accent
#3CD7EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177E23

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

Preview Lab → · Contrast checker → · Palette generator →

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