#177512#177512

#177512 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.155 H 142.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#177512
RGBrgb(23, 117, 18)
HSLhsl(117, 73%, 26%)
HSVhsv(117, 85%, 46%)
CMYKcmyk(80.3%, 0%, 84.6%, 54.1%)
CIE-LABlab(42.68, -45.14, 42.77)
CIE-LCHlch(42.68, 62.19, 136.54°)
OKLaboklab(49.12% -0.1228 0.0949)
OKLCHoklch(49.12% 0.155 142.3)
XYZxyz(6.8234, 12.9476, 2.7117)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177512 #701275
analogous
#497512 #177512 #12753F
triadic
#177512 #121775 #751217
tetradic
#177512 #124975 #701275 #753F12
square
#177512 #124975 #701275 #753F12
split-complementary
#177512 #3F1275 #751249
monochromatic
#051B04 #0D400A #177512 #21AA1A #2DDD24

Accessibility & contrast

On white

5.85
#177512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#177512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177512
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177512#FFFFFF#000000##FFFFFF
##1775121.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #177512;
/* rgb */ color: rgb(23, 117, 18);
/* oklch */ color: oklch(49.1% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#679e5a',
    500: '#177512',
    950: '#000000',
  },
}
SCSS
$custom: #177512;
$custom-light: #679e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#177512",
  "rgb": {
    "r": 23,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 116.97,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.15518,
    "h": 142.3
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#177512
secondary
#A637AC
accent
#38F0E7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177512

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

Preview Lab → · Contrast checker → · Palette generator →

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