#17791F#17791F

#17791F is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.4% C 0.153 H 143.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#17791F
RGBrgb(23, 121, 31)
HSLhsl(125, 68%, 28%)
HSVhsv(125, 81%, 47%)
CMYKcmyk(81%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.17, -45.48, 39.56)
CIE-LCHlch(44.17, 60.28, 138.98°)
OKLaboklab(50.38% -0.1231 0.0901)
OKLCHoklch(50.38% 0.153 143.8)
XYZxyz(7.4375, 13.9549, 3.5977)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17791F #791771
analogous
#407917 #17791F #177950
triadic
#17791F #1F1779 #791F17
tetradic
#17791F #174079 #791771 #795017
square
#17791F #174079 #791771 #795017
split-complementary
#17791F #501779 #791740
monochromatic
#051A07 #0D4612 #17791F #21AC2C #32D840

Accessibility & contrast

On white

5.54
#17791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#17791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17791F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17791F#FFFFFF#000000##FFFFFF
##17791F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17791f;
/* rgb */ color: rgb(23, 121, 31);
/* oklch */ color: oklch(50.4% 0.153 143.8);
Tailwind
colors: {
  custom: {
    50: '#67a160',
    500: '#17791f',
    950: '#000000',
  },
}
SCSS
$custom: #17791f;
$custom-light: #67a160;
$custom-dark: #000000;
JSON
{
  "hex": "#17791f",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 124.898,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.15252,
    "h": 143.8
  },
  "luminance": 0.13956
}

Semantic roles & 50–950 ramp

primary
#17791F
secondary
#AE3EA5
accent
#3DDDEB
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #17791F

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

Preview Lab → · Contrast checker → · Palette generator →

#17791F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva