#177819#177819

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

Color values

HEX#177819
RGBrgb(23, 120, 25)
HSLhsl(121, 68%, 28%)
HSVhsv(121, 81%, 47%)
CMYKcmyk(80.8%, 0%, 79.2%, 52.9%)
CIE-LABlab(43.78, -45.66, 41.48)
CIE-LCHlch(43.78, 61.69, 137.75°)
OKLaboklab(50.04% -0.1238 0.0933)
OKLCHoklch(50.04% 0.155 143)
XYZxyz(7.2448, 13.6844, 3.1791)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177819 #781776
analogous
#457817 #177819 #177849
triadic
#177819 #191778 #781917
tetradic
#177819 #174578 #781776 #784917
square
#177819 #174578 #781776 #784917
split-complementary
#177819 #491778 #781745
monochromatic
#051A05 #0D450E #177819 #21AB24 #32D835

Accessibility & contrast

On white

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

On black

3.74
#177819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177819#FFFFFF#000000##FFFFFF
##1778191.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177819;
/* rgb */ color: rgb(23, 120, 25);
/* oklch */ color: oklch(50.0% 0.155 143.0);
Tailwind
colors: {
  custom: {
    50: '#67a05d',
    500: '#177819',
    950: '#000000',
  },
}
SCSS
$custom: #177819;
$custom-light: #67a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#177819",
  "rgb": {
    "r": 23,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 121.237,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.15502,
    "h": 143
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#177819
secondary
#AD3EAB
accent
#3DE7EB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #177819

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

Preview Lab → · Contrast checker → · Palette generator →

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