#177315#177315

#177315 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.5% C 0.151 H 142.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#177315
RGBrgb(23, 115, 21)
HSLhsl(119, 69%, 27%)
HSVhsv(119, 82%, 45%)
CMYKcmyk(80%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.00, -44.27, 41.15)
CIE-LCHlch(42.00, 60.44, 137.09°)
OKLaboklab(48.55% -0.1203 0.092)
OKLCHoklch(48.55% 0.151 142.6)
XYZxyz(6.6190, 12.4970, 2.7726)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177315 #711573
analogous
#467315 #177315 #157342
triadic
#177315 #151773 #731517
tetradic
#177315 #154673 #711573 #734215
square
#177315 #154673 #711573 #734215
split-complementary
#177315 #421573 #731546
monochromatic
#051A05 #0D3F0C #177315 #21A71E #2ED82A

Accessibility & contrast

On white

6.00
#177315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#177315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177315
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177315#FFFFFF#000000##FFFFFF
##1773151.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6C6020
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177315;
/* rgb */ color: rgb(23, 115, 21);
/* oklch */ color: oklch(48.5% 0.151 142.6);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#177315',
    950: '#000000',
  },
}
SCSS
$custom: #177315;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#177315",
  "rgb": {
    "r": 23,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 118.723,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.1514,
    "h": 142.6
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#177315
secondary
#A73BA9
accent
#3CECE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177315

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

Preview Lab → · Contrast checker → · Palette generator →

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