#177F12#177F12

#177F12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.166 H 142.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#177F12
RGBrgb(23, 127, 18)
HSLhsl(117, 75%, 28%)
HSVhsv(117, 86%, 50%)
CMYKcmyk(81.9%, 0%, 85.8%, 50.2%)
CIE-LABlab(46.18, -48.44, 46.00)
CIE-LCHlch(46.18, 66.80, 136.48°)
OKLaboklab(52.03% -0.1317 0.1017)
OKLCHoklch(52.03% 0.166 142.3)
XYZxyz(8.0514, 15.4036, 3.1210)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F12 #7A127F
analogous
#4D7F12 #177F12 #127F43
triadic
#177F12 #12177F #7F1217
tetradic
#177F12 #124D7F #7A127F #7F4312
square
#177F12 #124D7F #7A127F #7F4312
split-complementary
#177F12 #43127F #7F124D
monochromatic
#051B04 #0D490A #177F12 #21B51A #33E12B

Accessibility & contrast

On white

5.15
#177F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#177F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F12
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F12#FFFFFF#000000##FFFFFF
##177F121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177f12;
/* rgb */ color: rgb(23, 127, 18);
/* oklch */ color: oklch(52.0% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#6aa55b',
    500: '#177f12',
    950: '#000000',
  },
}
SCSS
$custom: #177f12;
$custom-light: #6aa55b;
$custom-dark: #000000;
JSON
{
  "hex": "#177f12",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 117.248,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.16636,
    "h": 142.3
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#177F12
secondary
#AF38B5
accent
#36F2E9
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #177F12

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

Preview Lab → · Contrast checker → · Palette generator →

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