#177815#177815

#177815 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.157 H 142.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#177815
RGBrgb(23, 120, 21)
HSLhsl(119, 70%, 28%)
HSVhsv(119, 83%, 47%)
CMYKcmyk(80.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(43.75, -45.95, 42.83)
CIE-LCHlch(43.75, 62.82, 137.01°)
OKLaboklab(50.01% -0.1248 0.0955)
OKLCHoklch(50.01% 0.157 142.6)
XYZxyz(7.2047, 13.6684, 2.9679)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177815 #761578
analogous
#487815 #177815 #157845
triadic
#177815 #151778 #781517
tetradic
#177815 #154878 #761578 #784515
square
#177815 #154878 #761578 #784515
split-complementary
#177815 #451578 #781548
monochromatic
#051A05 #0D440C #177815 #21AC1E #31DA2D

Accessibility & contrast

On white

5.62
#177815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#177815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177815
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177815#FFFFFF#000000##FFFFFF
##1778151.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #177815;
/* rgb */ color: rgb(23, 120, 21);
/* oklch */ color: oklch(50.0% 0.157 142.6);
Tailwind
colors: {
  custom: {
    50: '#68a05b',
    500: '#177815',
    950: '#000000',
  },
}
SCSS
$custom: #177815;
$custom-light: #68a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#177815",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 118.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.15716,
    "h": 142.6
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#177815
secondary
#AB3BAE
accent
#3BEDE9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #177815

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

Preview Lab → · Contrast checker → · Palette generator →

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