#177215#177215

#177215 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.150 H 142.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#177215
RGBrgb(23, 114, 21)
HSLhsl(119, 69%, 26%)
HSVhsv(119, 82%, 45%)
CMYKcmyk(79.8%, 0%, 81.6%, 55.3%)
CIE-LABlab(41.64, -43.93, 40.81)
CIE-LCHlch(41.64, 59.96, 137.11°)
OKLaboklab(48.26% -0.1193 0.0913)
OKLCHoklch(48.26% 0.15 142.6)
XYZxyz(6.5056, 12.2702, 2.7348)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177215 #701572
analogous
#467215 #177215 #157242
triadic
#177215 #151772 #721517
tetradic
#177215 #154672 #701572 #724215
square
#177215 #154672 #701572 #724215
split-complementary
#177215 #421572 #721546
monochromatic
#051A05 #0D3E0B #177215 #21A61F #2DD82A

Accessibility & contrast

On white

6.08
#177215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#177215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177215
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177215#FFFFFF#000000##FFFFFF
##1772151.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177215;
/* rgb */ color: rgb(23, 114, 21);
/* oklch */ color: oklch(48.3% 0.150 142.6);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#177215',
    950: '#000000',
  },
}
SCSS
$custom: #177215;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#177215",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 118.71,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.15024,
    "h": 142.6
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #177215

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

Preview Lab → · Contrast checker → · Palette generator →

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