#177E18#177E18

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

Color values

HEX#177E18
RGBrgb(23, 126, 24)
HSLhsl(121, 69%, 29%)
HSVhsv(121, 82%, 49%)
CMYKcmyk(81.7%, 0%, 81%, 50.6%)
CIE-LABlab(45.86, -47.73, 43.86)
CIE-LCHlch(45.86, 64.82, 137.42°)
OKLaboklab(51.77% -0.1295 0.0981)
OKLCHoklch(51.77% 0.162 142.9)
XYZxyz(7.9786, 15.1689, 3.3714)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E18 #7E177D
analogous
#497E17 #177E18 #177E4C
triadic
#177E18 #18177E #7E1817
tetradic
#177E18 #17497E #7E177D #7E4C17
square
#177E18 #17497E #7E177D #7E4C17
split-complementary
#177E18 #4C177E #7E1749
monochromatic
#051A05 #0E4A0E #177E18 #20B222 #35DA37

Accessibility & contrast

On white

5.21
#177E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#177E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E18#FFFFFF#000000##FFFFFF
##177E181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e18;
/* rgb */ color: rgb(23, 126, 24);
/* oklch */ color: oklch(51.8% 0.162 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45e',
    500: '#177e18',
    950: '#000000',
  },
}
SCSS
$custom: #177e18;
$custom-light: #69a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#177e18",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 120.583,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.16245,
    "h": 142.9
  },
  "luminance": 0.1517
}

Semantic roles & 50–950 ramp

primary
#177E18
secondary
#B33EB2
accent
#3CEAEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177E18

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

Preview Lab → · Contrast checker → · Palette generator →

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