#177412#177412

#177412 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#177412
RGBrgb(23, 116, 18)
HSLhsl(117, 73%, 26%)
HSVhsv(117, 84%, 45%)
CMYKcmyk(80.2%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.33, -44.81, 42.45)
CIE-LCHlch(42.33, 61.72, 136.55°)
OKLaboklab(48.82% -0.1218 0.0942)
OKLCHoklch(48.82% 0.154 142.3)
XYZxyz(6.7075, 12.7158, 2.6730)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177412 #6F1274
analogous
#487412 #177412 #12743E
triadic
#177412 #121774 #741217
tetradic
#177412 #124874 #6F1274 #743E12
square
#177412 #124874 #6F1274 #743E12
split-complementary
#177412 #3E1274 #741248
monochromatic
#051A04 #0C3F0A #177412 #22A91A #2DDD23

Accessibility & contrast

On white

5.93
#177412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#177412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177412
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177412#FFFFFF#000000##FFFFFF
##1774121.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #177412;
/* rgb */ color: rgb(23, 116, 18);
/* oklch */ color: oklch(48.8% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#679d5a',
    500: '#177412',
    950: '#000000',
  },
}
SCSS
$custom: #177412;
$custom-light: #679d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#177412",
  "rgb": {
    "r": 23,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 116.939,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48824,
    "c": 0.15404,
    "h": 142.3
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#177412
secondary
#A537AB
accent
#38F0E6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177412

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

Preview Lab → · Contrast checker → · Palette generator →

#177412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva