#177915#177915

#177915 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.158 H 142.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#177915
RGBrgb(23, 121, 21)
HSLhsl(119, 70%, 28%)
HSVhsv(119, 83%, 47%)
CMYKcmyk(81%, 0%, 82.6%, 52.5%)
CIE-LABlab(44.10, -46.28, 43.17)
CIE-LCHlch(44.10, 63.29, 137.00°)
OKLaboklab(50.3% -0.1257 0.0962)
OKLCHoklch(50.3% 0.158 142.6)
XYZxyz(7.3256, 13.9102, 3.0082)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177915 #771579
analogous
#497915 #177915 #157945
triadic
#177915 #151779 #791517
tetradic
#177915 #154979 #771579 #794515
square
#177915 #154979 #771579 #794515
split-complementary
#177915 #451579 #791549
monochromatic
#051A05 #0D450C #177915 #21AD1E #31DB2E

Accessibility & contrast

On white

5.55
#177915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#177915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177915
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177915#FFFFFF#000000##FFFFFF
##1779151.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177915;
/* rgb */ color: rgb(23, 121, 21);
/* oklch */ color: oklch(50.3% 0.158 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#177915',
    950: '#000000',
  },
}
SCSS
$custom: #177915;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#177915",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 118.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.15829,
    "h": 142.6
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#177915
secondary
#AC3BAF
accent
#3BEDEA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #177915

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

Preview Lab → · Contrast checker → · Palette generator →

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