#177E12#177E12

#177E12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.165 H 142.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#177E12
RGBrgb(23, 126, 18)
HSLhsl(117, 75%, 28%)
HSVhsv(117, 86%, 49%)
CMYKcmyk(81.7%, 0%, 85.7%, 50.6%)
CIE-LABlab(45.83, -48.11, 45.68)
CIE-LCHlch(45.83, 66.35, 136.48°)
OKLaboklab(51.74% -0.1308 0.101)
OKLCHoklch(51.74% 0.165 142.3)
XYZxyz(7.9229, 15.1466, 3.0782)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E12 #79127E
analogous
#4D7E12 #177E12 #127E43
triadic
#177E12 #12177E #7E1217
tetradic
#177E12 #124D7E #79127E #7E4312
square
#177E12 #124D7E #79127E #7E4312
split-complementary
#177E12 #43127E #7E124D
monochromatic
#051B04 #0D480A #177E12 #21B41A #32E12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177E12#FFFFFF#000000##FFFFFF
##177E121.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)
#766A20
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e12;
/* rgb */ color: rgb(23, 126, 18);
/* oklch */ color: oklch(51.7% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#69a45b',
    500: '#177e12',
    950: '#000000',
  },
}
SCSS
$custom: #177e12;
$custom-light: #69a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#177e12",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 117.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.16525,
    "h": 142.3
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #177E12

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

Preview Lab → · Contrast checker → · Palette generator →

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